summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-06-16 15:52:51 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-06-16 15:52:51 (GMT)
commitb156314ab3cedc7fa1c8198a320be4a05dd6ff8d (patch)
tree2abd4f5a31519b63c05cc45675927c7bbc460c01 /Source
parentfbf40e202a86c22868ce5394014606de331356c5 (diff)
downloadCMake-b156314ab3cedc7fa1c8198a320be4a05dd6ff8d.zip
CMake-b156314ab3cedc7fa1c8198a320be4a05dd6ff8d.tar.gz
CMake-b156314ab3cedc7fa1c8198a320be4a05dd6ff8d.tar.bz2
ENH: add first cut at support for exe with same name as lib
Diffstat (limited to 'Source')
-rw-r--r--Source/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index f3a604e..750ca1b 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -358,6 +358,17 @@ IF(BUILD_TESTING)
--build-two-config
--test-command simple)
+# ADD_TEST(SameName ${CMAKE_CTEST_COMMAND}
+# --build-and-test
+# "${CMake_SOURCE_DIR}/Tests/SameName"
+# "${CMake_BINARY_DIR}/Tests/SameName"
+# --build-generator ${CMAKE_GENERATOR}
+# --build-project SameName
+# --build-makeprogram ${MAKEPROGRAM}
+# --build-two-config
+# --test-command
+# "${CMake_BINARY_DIR}/Tests/SameName/Exe1/mytest2")
+
ADD_TEST(OutOfSource ${CMAKE_CTEST_COMMAND}
--build-and-test
"${CMake_SOURCE_DIR}/Tests/OutOfSource"