changeset 346:bb8f437bf09f

Add CXX variable to Makefile; add math defines to vcproj
author Chris Cannam
date Wed, 20 Mar 2013 16:01:31 +0000
parents 079209375f07
children efb69fd6f27f
files Makefile.in build/VampPluginSDK.vcproj
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Sun Jan 06 20:45:55 2013 +0000
+++ b/Makefile.in	Wed Mar 20 16:01:31 2013 +0000
@@ -38,6 +38,7 @@
 
 # Compile flags
 #
+CXX		= @CXX@
 CXXFLAGS	= -I. @CXXFLAGS@ @SNDFILE_CFLAGS@
 
 # ar, ranlib
--- a/build/VampPluginSDK.vcproj	Sun Jan 06 20:45:55 2013 +0000
+++ b/build/VampPluginSDK.vcproj	Wed Mar 20 16:01:31 2013 +0000
@@ -102,7 +102,7 @@
 			<Tool
 				Name="VCCLCompilerTool"
 				AdditionalIncludeDirectories=".."
-				PreprocessorDefinitions="WIN32;NDEBUG;_LIB;"
+				PreprocessorDefinitions="WIN32;NDEBUG;_LIB;_USE_MATH_DEFINES"
 				RuntimeLibrary="2"
 				UsePrecompiledHeader="0"
 				WarningLevel="2"