summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-05-05 15:51:07 (GMT)
committerBrad King <brad.king@kitware.com>2006-05-05 15:51:07 (GMT)
commit66d7aef82b1c3019e7a69e2af24835bd49edba53 (patch)
treefdf02a4d05221f802357ece0844a9365737d6be3 /Tests
parent323dc3a89aeadbff9651234b41983f5aabb60d98 (diff)
downloadCMake-66d7aef82b1c3019e7a69e2af24835bd49edba53.zip
CMake-66d7aef82b1c3019e7a69e2af24835bd49edba53.tar.gz
CMake-66d7aef82b1c3019e7a69e2af24835bd49edba53.tar.bz2
ENH: Adding COMPONENT option to an INSTALL command call to smoke-test it.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/SimpleInstall/CMakeLists.txt6
-rw-r--r--Tests/SimpleInstallS2/CMakeLists.txt6
2 files changed, 6 insertions, 6 deletions
diff --git a/Tests/SimpleInstall/CMakeLists.txt b/Tests/SimpleInstall/CMakeLists.txt
index aa9dfe4..461280d 100644
--- a/Tests/SimpleInstall/CMakeLists.txt
+++ b/Tests/SimpleInstall/CMakeLists.txt
@@ -105,9 +105,9 @@ ELSE(STAGE2)
ADD_DEPENDENCIES(test4 test2)
INSTALL(TARGETS SimpleInstall test1 test2 test3
- RUNTIME DESTINATION MyTest/bin # .exe, .dll
- LIBRARY DESTINATION MyTest/lib # .so, module.dll, ...
- ARCHIVE DESTINATION MyTest/lib/static # .a, .lib
+ RUNTIME DESTINATION MyTest/bin COMPONENT Runtime # .exe, .dll
+ LIBRARY DESTINATION MyTest/lib COMPONENT Runtime # .so, mod.dll
+ ARCHIVE DESTINATION MyTest/lib/static COMPONENT Development # .a, .lib
)
INSTALL(TARGETS test4 PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
RUNTIME DESTINATION MyTest/bin
diff --git a/Tests/SimpleInstallS2/CMakeLists.txt b/Tests/SimpleInstallS2/CMakeLists.txt
index aa9dfe4..461280d 100644
--- a/Tests/SimpleInstallS2/CMakeLists.txt
+++ b/Tests/SimpleInstallS2/CMakeLists.txt
@@ -105,9 +105,9 @@ ELSE(STAGE2)
ADD_DEPENDENCIES(test4 test2)
INSTALL(TARGETS SimpleInstall test1 test2 test3
- RUNTIME DESTINATION MyTest/bin # .exe, .dll
- LIBRARY DESTINATION MyTest/lib # .so, module.dll, ...
- ARCHIVE DESTINATION MyTest/lib/static # .a, .lib
+ RUNTIME DESTINATION MyTest/bin COMPONENT Runtime # .exe, .dll
+ LIBRARY DESTINATION MyTest/lib COMPONENT Runtime # .so, mod.dll
+ ARCHIVE DESTINATION MyTest/lib/static COMPONENT Development # .a, .lib
)
INSTALL(TARGETS test4 PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
RUNTIME DESTINATION MyTest/bin