summaryrefslogtreecommitdiffstats
path: root/test/MSVS/vs-7.0-files.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2006-02-12 15:34:44 (GMT)
committerSteven Knight <knight@baldmt.com>2006-02-12 15:34:44 (GMT)
commit7bc5b0f51a17b8ea1e49cfe917a98610791d67aa (patch)
tree5ffda5496ca57b65815f1f1574af5759be5d677e /test/MSVS/vs-7.0-files.py
parent8cddc4743be562bac3851eea6aa5b26a3c5370cd (diff)
downloadSCons-7bc5b0f51a17b8ea1e49cfe917a98610791d67aa.zip
SCons-7bc5b0f51a17b8ea1e49cfe917a98610791d67aa.tar.gz
SCons-7bc5b0f51a17b8ea1e49cfe917a98610791d67aa.tar.bz2
Fix over-zealous common prefix matching when generating Visual Studio project files. (David J. Van Maren) Avoid overwriting available MSVS versions that are already set. (Thad Ward) Add a runfile parameter to Project creation. (Matthias)
Diffstat (limited to 'test/MSVS/vs-7.0-files.py')
-rw-r--r--test/MSVS/vs-7.0-files.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/test/MSVS/vs-7.0-files.py b/test/MSVS/vs-7.0-files.py
index e682607..8c82d1a 100644
--- a/test/MSVS/vs-7.0-files.py
+++ b/test/MSVS/vs-7.0-files.py
@@ -44,7 +44,7 @@ if sys.platform != 'win32':
expected_slnfile = """\
Microsoft Visual Studio Solution File, Format Version 7.00
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test", "Test.vcproj", "{SLNGUID}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test", "Test.vcproj", "{E5466E26-0003-F18B-8F8A-BCD76C86388D}"
EndProject
Global
\tGlobalSection(SolutionConfiguration) = preSolution
@@ -126,7 +126,10 @@ expected_vcprojfile = """\
\t\t\tName="Source Files"
\t\t\tFilter="cpp;c;cxx;l;y;def;odl;idl;hpj;bat">
\t\t\t<File
-\t\t\t\tRelativePath="test.cpp">
+\t\t\t\tRelativePath="test1.cpp">
+\t\t\t</File>
+\t\t\t<File
+\t\t\t\tRelativePath="test2.cpp">
\t\t\t</File>
\t\t</Filter>
\t\t<File
@@ -143,7 +146,7 @@ expected_vcprojfile = """\
SConscript_contents = """\
env=Environment(MSVS_VERSION = '7.0')
-testsrc = ['test.cpp']
+testsrc = ['test1.cpp', 'test2.cpp']
testincs = ['sdk.h']
testlocalincs = ['test.h']
testresources = ['test.rc']
@@ -259,7 +262,7 @@ test.subdir('work3')
test.write(['work3', 'SConstruct'], """\
env=Environment(MSVS_VERSION = '7.0')
-testsrc = ['test.cpp']
+testsrc = ['test1.cpp', 'test2.cpp']
testincs = ['sdk.h']
testlocalincs = ['test.h']
testresources = ['test.rc']