ENH: Adding COMPONENT option to an INSTALL command call to smoke-test it.
This commit is contained in:
parent
323dc3a89a
commit
66d7aef82b
|
@ -105,9 +105,9 @@ ELSE(STAGE2)
|
||||||
ADD_DEPENDENCIES(test4 test2)
|
ADD_DEPENDENCIES(test4 test2)
|
||||||
|
|
||||||
INSTALL(TARGETS SimpleInstall test1 test2 test3
|
INSTALL(TARGETS SimpleInstall test1 test2 test3
|
||||||
RUNTIME DESTINATION MyTest/bin # .exe, .dll
|
RUNTIME DESTINATION MyTest/bin COMPONENT Runtime # .exe, .dll
|
||||||
LIBRARY DESTINATION MyTest/lib # .so, module.dll, ...
|
LIBRARY DESTINATION MyTest/lib COMPONENT Runtime # .so, mod.dll
|
||||||
ARCHIVE DESTINATION MyTest/lib/static # .a, .lib
|
ARCHIVE DESTINATION MyTest/lib/static COMPONENT Development # .a, .lib
|
||||||
)
|
)
|
||||||
INSTALL(TARGETS test4 PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
|
INSTALL(TARGETS test4 PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
|
||||||
RUNTIME DESTINATION MyTest/bin
|
RUNTIME DESTINATION MyTest/bin
|
||||||
|
|
|
@ -105,9 +105,9 @@ ELSE(STAGE2)
|
||||||
ADD_DEPENDENCIES(test4 test2)
|
ADD_DEPENDENCIES(test4 test2)
|
||||||
|
|
||||||
INSTALL(TARGETS SimpleInstall test1 test2 test3
|
INSTALL(TARGETS SimpleInstall test1 test2 test3
|
||||||
RUNTIME DESTINATION MyTest/bin # .exe, .dll
|
RUNTIME DESTINATION MyTest/bin COMPONENT Runtime # .exe, .dll
|
||||||
LIBRARY DESTINATION MyTest/lib # .so, module.dll, ...
|
LIBRARY DESTINATION MyTest/lib COMPONENT Runtime # .so, mod.dll
|
||||||
ARCHIVE DESTINATION MyTest/lib/static # .a, .lib
|
ARCHIVE DESTINATION MyTest/lib/static COMPONENT Development # .a, .lib
|
||||||
)
|
)
|
||||||
INSTALL(TARGETS test4 PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
|
INSTALL(TARGETS test4 PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
|
||||||
RUNTIME DESTINATION MyTest/bin
|
RUNTIME DESTINATION MyTest/bin
|
||||||
|
|
Loading…
Reference in New Issue