diff options
author | Steven Knight <knight@baldmt.com> | 2009-02-22 08:17:49 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2009-02-22 08:17:49 (GMT) |
commit | 9be901392ae6a13ebe2590e1d1c61adf4f0d7172 (patch) | |
tree | 964056a467170f6a9064b72a6a58f9cdc5e79556 /QMTest | |
parent | 140cb569328ee9904e7339932502307d035a8ee0 (diff) | |
download | SCons-9be901392ae6a13ebe2590e1d1c61adf4f0d7172.zip SCons-9be901392ae6a13ebe2590e1d1c61adf4f0d7172.tar.gz SCons-9be901392ae6a13ebe2590e1d1c61adf4f0d7172.tar.bz2 |
Set IncludeSearchPath and PreprocessorDefinitions in the generation
project files for Visual Studio 8.0. (Allan Erskine)
Diffstat (limited to 'QMTest')
-rw-r--r-- | QMTest/TestSConsMSVS.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/QMTest/TestSConsMSVS.py b/QMTest/TestSConsMSVS.py index 8a85b3f..f26510b 100644 --- a/QMTest/TestSConsMSVS.py +++ b/QMTest/TestSConsMSVS.py @@ -478,8 +478,8 @@ expected_vcprojfile_8_0 = """\ \t\t\t\tReBuildCommandLine="echo Starting SCons && "<PYTHON>" -c "<SCONS_SCRIPT_MAIN_XML>" -C "<WORKPATH>" -f SConstruct "Test.exe"" \t\t\t\tCleanCommandLine="echo Starting SCons && "<PYTHON>" -c "<SCONS_SCRIPT_MAIN_XML>" -C "<WORKPATH>" -f SConstruct -c "Test.exe"" \t\t\t\tOutput="Test.exe" -\t\t\t\tPreprocessorDefinitions="" -\t\t\t\tIncludeSearchPath="" +\t\t\t\tPreprocessorDefinitions="DEF1;DEF2" +\t\t\t\tIncludeSearchPath="inc1;inc2" \t\t\t\tForcedIncludes="" \t\t\t\tAssemblySearchPath="" \t\t\t\tForcedUsingAssemblies="" @@ -538,7 +538,9 @@ expected_vcprojfile_8_0 = """\ """ SConscript_contents_8_0 = """\ -env=Environment(platform='win32', tools=['msvs'], MSVS_VERSION='8.0') +env=Environment(platform='win32', tools=['msvs'], MSVS_VERSION='8.0', + CPPDEFINES=['DEF1', 'DEF2'], + CPPPATH=['inc1', 'inc2']) testsrc = ['test1.cpp', 'test2.cpp'] testincs = ['sdk.h'] |