1: CMAKE_MINIMUM_REQUIRED(VERSION 3.0.0)
2: IF (POLICY CMP0048)
3: CMAKE_POLICY(SET CMP0048 NEW) # Wg. VERSION im project Befehl
4: ENDIF (POLICY CMP0048)
5:
6: PROJECT(BitmapAndIcons VERSION 1.2.3)
7:
8: ADD_EXECUTABLE(tm tm.c)
9: INSTALL(TARGETS tm DESTINATION bin)
10:
11: # Standard --------------------------------------------------------
12: SET(CPACK_WIX_UPGRADE_GUID "A85553E0-7A82-4356-928A-36D11C6102A4")
13: SET(CPACK_WIX_CULTURES "de-DE")
14: SET(CPACK_GENERATOR WIX)
15: # Standard Ende ---------------------------------------------------
16:
17: # Erscheint, wenn die App deinstalliert wird im Programmmanager
18: SET(CPACK_WIX_PRODUCT_ICON "${CMAKE_CURRENT_SOURCE_DIR}/symbol.ico")
19: # Erscheint im Auswahlfeld
20: SET(CPACK_WIX_UI_BANNER "${CMAKE_CURRENT_SOURCE_DIR}/banner.bmp")
21: # Erscheint, wenn App installiert wird im Dialogfeld der Installation
22: SET(CPACK_WIX_UI_DIALOG "${CMAKE_CURRENT_SOURCE_DIR}/dialog.bmp")
23:
24:
25: INCLUDE(CPack)