Skip to content

Commit

Permalink
Merge branch 'dev' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
mudream4869 committed Mar 9, 2021
2 parents 1000d70 + bdc14f8 commit 8405f92
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,12 @@ target_link_libraries(cablin
# Installation

install(TARGETS cablin
LIBRARY
DESTINATION lib)
DESTINATION lib
COMPONENT cablin)

install(DIRECTORY include/mukyu/cablin
DESTINATION include/mukyu/cablin)
install(DIRECTORY include/mukyu
DESTINATION include
COMPONENT cablin)

# ----------
# Interpreter
Expand All @@ -89,3 +90,14 @@ add_subdirectory(example)
# Unit Test

add_subdirectory(tests)

# ----------
# Archive support

set(CPACK_ARCHIVE_FILE_NAME "mukyu-cablin")
set(CPACK_ARCHIVE_COMPONENT_INSTALL 1)
set(CPACK_COMPONENTS_ALL cablin)

set(CPACK_GENERATOR "ZIP")

include(CPack)

0 comments on commit 8405f92

Please sign in to comment.