ENH: Adding COMPONENT option to an INSTALL command call to smoke-test it.

This commit is contained in:
Brad King 2006-05-05 11:51:07 -04:00
parent 323dc3a89a
commit 66d7aef82b
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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