-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCPackConfig.cmake
97 lines (82 loc) · 4.82 KB
/
CPackConfig.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
set(PACKAGE_VARIANT "" CACHE STRING "Variant of the package, added after the base name to CPack-created files")
set(CPACK_PACKAGE_NAME "GraphicsRulesMaker${PACKAGE_VARIANT}")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Graphics Rules Maker")
set(CPACK_PACKAGE_VENDOR "SimsNetwork.com")
set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/Readme.txt")
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt")
set(CPACK_PACKAGE_VERSION_MAJOR "2")
set(CPACK_PACKAGE_VERSION_MINOR "3")
set(CPACK_PACKAGE_VERSION_PATCH "0")
set(CPACK_PACKAGE_INSTALL_DIRECTORY "Graphics Rules Maker")
# Components: application, dev, sims2, simcity4, simslifestories
set(CPACK_COMPONENTS_ALL application dev sims2 simcity4 simslifestories simspetstories simscastawaystories)
set(CPACK_COMPONENT_APPLICATION_DISPLAY_NAME "Graphics Rules Maker Application")
set(CPACK_COMPONENT_APPLICATION_DESCRIPTION "The application and all required files.")
set(CPACK_COMPONENT_APPLICATION_REQUIRED 1)
set(CPACK_COMPONENT_APPLICATION_INSTALL_TYPES Default Dev)
set(CPACK_COMPONENT_APPLICATION_GROUP App)
set(CPACK_COMPONENT_DEV_DISPLAY_NAME "Development files")
set(CPACK_COMPONENT_DEV_DESCRIPTION "Files and headers required to develop new writer plugins.")
set(CPACK_COMPONENT_DEV_INSTALL_TYPES Dev)
set(CPACK_COMPONENT_DEV_DISABLED 1)
set(CPACK_COMPONENT_DEV_GROUP App)
set(CPACK_COMPONENT_SIMS2_DISPLAY_NAME "Sims 2")
set(CPACK_COMPONENT_SIMS2_DESCRIPTION "Sims 2 (and Body Shop) plugin")
set(CPACK_COMPONENT_SIMS2_REQUIRED 0)
set(CPACK_COMPONENT_SIMS2_INSTALL_TYPES Default Dev)
set(CPACK_COMPONENT_SIMS2_GROUP Plugins)
set(CPACK_COMPONENT_SIMS2_DEPENDS application)
set(CPACK_COMPONENT_SIMCITY4_DISPLAY_NAME "SimCity 4")
set(CPACK_COMPONENT_SIMCITY4_DESCRIPTION "SimCity 4 plugin")
set(CPACK_COMPONENT_SIMCITY4_REQUIRED 0)
set(CPACK_COMPONENT_SIMCITY4_INSTALL_TYPES Default Dev)
set(CPACK_COMPONENT_SIMCITY4_GROUP Plugins)
set(CPACK_COMPONENT_SIMCITY4_DEPENDS application)
set(CPACK_COMPONENT_SIMSLIFESTORIES_DISPLAY_NAME "Sims Life Stories")
set(CPACK_COMPONENT_SIMSLIFESTORIES_DESCRIPTION "Sims Life Stories plugin")
set(CPACK_COMPONENT_SIMSLIFESTORIES_REQUIRED 0)
set(CPACK_COMPONENT_SIMSLIFESTORIES_INSTALL_TYPES Default Dev)
set(CPACK_COMPONENT_SIMSLIFESTORIES_GROUP Plugins)
set(CPACK_COMPONENT_SIMSLIFESTORIES_DEPENDS application)
set(CPACK_COMPONENT_SIMSPETSTORIES_DISPLAY_NAME "Sims Pet Stories")
set(CPACK_COMPONENT_SIMSPETSTORIES_DESCRIPTION "Sims Pet Stories plugin")
set(CPACK_COMPONENT_SIMSPETSTORIES_REQUIRED 0)
set(CPACK_COMPONENT_SIMSPETSTORIES_INSTALL_TYPES Default Dev)
set(CPACK_COMPONENT_SIMSPETSTORIES_GROUP Plugins)
set(CPACK_COMPONENT_SIMSPETSTORIES_DEPENDS application)
set(CPACK_COMPONENT_SIMSCASTAWAYSTORIES_DISPLAY_NAME "Sims Castaway Stories")
set(CPACK_COMPONENT_SIMSCASTAWAYSTORIES_DESCRIPTION "Sims Castaway Stories plugin")
set(CPACK_COMPONENT_SIMSCASTAWAYSTORIES_REQUIRED 0)
set(CPACK_COMPONENT_SIMSCASTAWAYSTORIES_INSTALL_TYPES Default Dev)
set(CPACK_COMPONENT_SIMSCASTAWAYSTORIES_GROUP Plugins)
set(CPACK_COMPONENT_SIMSCASTAWAYSTORIES_DEPENDS application)
set(CPACK_COMPONENT_GROUP_APP_DISPLAY_NAME "Graphics Rules Maker")
set(CPACK_COMPONENT_GROUP_APP_DESCRIPTION "The application itself.")
set(CPACK_COMPONENT_GROUP_APP_EXPANDED 0)
set(CPACK_COMPONENT_GROUP_PLUGINS_DISPLAY_NAME "Plugins")
set(CPACK_COMPONENT_GROUP_PLUGINS_DESCRIPTION "Game plugins")
set(CPACK_COMPONENT_GROUP_PLUGINS_EXPANDED 1)
set(CPACK_COMPONENT_GROUP_PLUGINS_REQUIRED 1)
set(CPACK_INSTALL_TYPE_DEFAULT_DISPLAY_NAME "Default Installation")
set(CPACK_INSTALL_TYPE_DEV_DISPLAY_NAME "Developers")
set(CPACK_STRIP_FILES 1)
if(WIN32 AND NOT UNIX)
set(CPACK_GENERATOR "NSIS;ZIP")
# There is a bug in NSI that does not handle full unix paths properly. Make
# sure there is at least one set of four (4) backslashes.
set(CPACK_PACKAGE_ICON "${PROJECT_BINARY_DIR}\\\\header.bmp")
set(CPACK_NSIS_MUI_ICON "${PROJECT_BINARY_DIR}\\\\src\\\\graphicsrulesmakerui\\\\icon.ico")
set(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\GraphicsRulesMakerUI.exe")
set(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY}")
set(CPACK_NSIS_HELP_LINK "http://www.simsnetwork.com")
set(CPACK_NSIS_URL_INFO_ABOUT "http://www.simsnetwork.com")
set(CPACK_NSIS_CONTACT "[email protected]")
set(CPACK_NSIS_MODIFY_PATH OFF)
set(CPACK_NSIS_CREATE_ICONS_EXTRA "!insertmacro CreateInternetShortcut '\$SMPROGRAMS\\\\$STARTMENU_FOLDER\\\\SimsNetwork.url' 'http://www.simsnetwork.com' '$INSTDIR\\\\simsnetwork.ico' 0")
set(CPACK_NSIS_DELETE_ICONS_EXTRA "Delete '\$SMPROGRAMS\\\\$MUI_TEMP\\\\SimsNetwork.url'")
set(CPACK_NSIS_MUI_FINISHPAGE_RUN "GraphicsRulesMakerUI.exe")
set(CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL "ON")
else(WIN32 AND NOT UNIX)
set(CPACK_SOURCE_STRIP_FILES "")
endif(WIN32 AND NOT UNIX)
set(CPACK_PACKAGE_EXECUTABLES "GraphicsRulesMakerUI" "Graphics Rules Maker")