summaryrefslogtreecommitdiffstats
path: root/Tests/VSExternalInclude
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-07-13 20:58:24 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-07-13 20:58:24 (GMT)
commit11d42b3e8f17c2b99838045545ae82df54a80b98 (patch)
treee246736fdb03f8c0dd3cff46e1067aa81b103a72 /Tests/VSExternalInclude
parent724275b26651b06ac5757a68ec8b25a430f5fdc8 (diff)
downloadCMake-11d42b3e8f17c2b99838045545ae82df54a80b98.zip
CMake-11d42b3e8f17c2b99838045545ae82df54a80b98.tar.gz
CMake-11d42b3e8f17c2b99838045545ae82df54a80b98.tar.bz2
ENH: almost all tests passing in vs 10, commit fixes preprocess and starts vs external project
Diffstat (limited to 'Tests/VSExternalInclude')
-rw-r--r--Tests/VSExternalInclude/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/VSExternalInclude/CMakeLists.txt b/Tests/VSExternalInclude/CMakeLists.txt
index 5f4a6aa..4814cc8 100644
--- a/Tests/VSExternalInclude/CMakeLists.txt
+++ b/Tests/VSExternalInclude/CMakeLists.txt
@@ -6,7 +6,9 @@ IF(${CMAKE_GENERATOR} MATCHES "Visual Studio 6")
ELSE(${CMAKE_GENERATOR} MATCHES "Visual Studio 6")
SET(PROJECT_EXT vcproj)
ENDIF(${CMAKE_GENERATOR} MATCHES "Visual Studio 6")
-
+IF(${CMAKE_GENERATOR} MATCHES "Visual Studio 10")
+ SET(PROJECT_EXT vcxproj)
+ENDIF()
# make sure directories exists
SET(LIB1_BINARY_DIR ${VSExternalInclude_BINARY_DIR}/Lib1)
@@ -38,3 +40,4 @@ ADD_EXECUTABLE(VSExternalInclude ${SOURCES})
# target depends on lib2
ADD_DEPENDENCIES(VSExternalInclude lib2)
+