summaryrefslogtreecommitdiffstats
path: root/QMTest
diff options
context:
space:
mode:
authorstopiccot <devnull@localhost>2012-02-12 12:37:34 (GMT)
committerstopiccot <devnull@localhost>2012-02-12 12:37:34 (GMT)
commit7db7f301f6b29b9e739b632535cb138a5d146121 (patch)
tree8bd9aeef8d2f6f697bf1bd66530701f3947b0084 /QMTest
parentf6e68423b7d7a8173bc8868b982e57a11826f51e (diff)
downloadSCons-7db7f301f6b29b9e739b632535cb138a5d146121.zip
SCons-7db7f301f6b29b9e739b632535cb138a5d146121.tar.gz
SCons-7db7f301f6b29b9e739b632535cb138a5d146121.tar.bz2
Fix in Visual Studio project generation. When project contains only one *.cpp or only one *.h file, incorrect paths are generated.
Diffstat (limited to 'QMTest')
-rw-r--r--QMTest/TestSConsMSVS.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/QMTest/TestSConsMSVS.py b/QMTest/TestSConsMSVS.py
index 604f191..1cff81d 100644
--- a/QMTest/TestSConsMSVS.py
+++ b/QMTest/TestSConsMSVS.py
@@ -710,7 +710,7 @@ expected_vcprojfile_10_0 = """\
\t\t<NMakeForcedUsingAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(NMakeForcedUsingAssemblies)</NMakeForcedUsingAssemblies>
\t</PropertyGroup>
\t<ItemGroup>
-\t\t<ClInclude Include="sdk.h" />
+\t\t<ClInclude Include="sdk_dir\sdk.h" />
\t</ItemGroup>
\t<ItemGroup>
\t\t<ClInclude Include="test.h" />
@@ -787,7 +787,7 @@ env=Environment(platform='win32', tools=['msvs'], MSVS_VERSION='10.0',
HOST_ARCH='%(HOST_ARCH)s')
testsrc = ['test1.cpp', 'test2.cpp']
-testincs = ['sdk.h']
+testincs = ['sdk_dir\sdk.h']
testlocalincs = ['test.h']
testresources = ['test.rc']
testmisc = ['readme.txt']