Commit e34c9391 by Maarten L. Hekkelman

Add rules for installer

parent 728cc7c6
......@@ -207,4 +207,17 @@ endif()
add_test(NAME unit-test
COMMAND $<TARGET_FILE:unit-test>
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/test)
\ No newline at end of file
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/test)
option(DSSP_BUILD_INSTALLER "Build an installer" OFF)
if(DSSP_BUILD_INSTALLER)
include(InstallRequiredSystemLibraries)
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
# NSIS options
set(CPACK_NSIS_MODIFY_PATH ON)
# configuration done, include CPack
include(CPack)
endif()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment