more on installer
This commit is contained in:
parent
18c2163318
commit
bce771b46f
1 changed files with 7 additions and 0 deletions
|
@ -51,12 +51,19 @@ set(kima2_SHARE kima2.desktop)
|
|||
if (WIN32 AND NOT UNIX)
|
||||
set(CPACK_GENERATOR "NSIS;ZIP")
|
||||
#set(CPACK_CREATE_DESKTOP_LINKS "bin/kima2")
|
||||
install(FILES "${CMAKE_SOURCE_DIR}/manual/Benutzerhandbuch.pdf"
|
||||
DESTINATION bin
|
||||
COMPONENT manualData)
|
||||
set(CPACK_NSIS_MENU_LINKS "bin\\\\Benutzerhandbuch.pdf" "Handbuch")
|
||||
else(WIN32 AND NOT UNIX)
|
||||
set(CPACK_SOURCE_GENERATOR "TBZ2")
|
||||
set(CPACK_GENERATOR "RPM;DEB")
|
||||
set(CPACK_STRIP_FILES "bin/kima2")
|
||||
set(CPACK_SOURCE_STRIP_FILES "")
|
||||
install(FILES ${kima2_SHARE} DESTINATION share/applications)
|
||||
install(FILES "${CMAKE_SOURCE_DIR}/manual/Benutzerhandbuch.pdf"
|
||||
DESTINATION share
|
||||
COMPONENT manualData)
|
||||
endif (WIN32 AND NOT UNIX)
|
||||
|
||||
if( MINGW )
|
||||
|
|
Loading…
Reference in a new issue