mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 15:19:51 -05:00
CPackWIX: support installation of empty directories
This commit is contained in:
@@ -9,6 +9,11 @@ target_link_libraries(my-libapp mylib)
|
||||
|
||||
add_executable(my-other-app myotherapp.cpp)
|
||||
|
||||
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/empty)
|
||||
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/empty
|
||||
DESTINATION extras
|
||||
COMPONENT extras)
|
||||
|
||||
install(TARGETS mylib
|
||||
ARCHIVE
|
||||
DESTINATION lib
|
||||
@@ -72,6 +77,12 @@ cpack_add_component_group(Development
|
||||
EXPANDED
|
||||
DESCRIPTION "All of the tools you'll ever need to develop software")
|
||||
|
||||
cpack_add_component(extras
|
||||
DISPLAY_NAME "Extras"
|
||||
DESCRIPTION "Extras"
|
||||
GROUP Runtime
|
||||
INSTALL_TYPES Full)
|
||||
|
||||
cpack_add_component(applications
|
||||
REQUIRED
|
||||
DISPLAY_NAME "MyLib Application"
|
||||
|
||||
Reference in New Issue
Block a user