build: enable CPack
This commit is contained in:
parent
8b620dc4f5
commit
426a447af3
@ -57,7 +57,15 @@ foreach (t analyse compare stat)
|
|||||||
set_target_properties ("${t}" PROPERTIES
|
set_target_properties ("${t}" PROPERTIES
|
||||||
OUTPUT_NAME "emory-${t}"
|
OUTPUT_NAME "emory-${t}"
|
||||||
)
|
)
|
||||||
|
install (TARGETS "${t}")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
add_executable (emory tools/emory.cpp)
|
add_executable (emory tools/emory.cpp)
|
||||||
target_link_libraries (emory libemory)
|
target_link_libraries (emory libemory)
|
||||||
|
install (TARGETS emory)
|
||||||
|
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
set (CPACK_GENERATOR "TXZ")
|
||||||
|
set (CPACK_STRIP_FILES TRUE)
|
||||||
|
include (CPack)
|
||||||
|
Loading…
Reference in New Issue
Block a user