aboutsummaryrefslogtreecommitdiff
path: root/cpack/setup.cmake
diff options
context:
space:
mode:
authorspicyjpeg <88942473+spicyjpeg@users.noreply.github.com>2021-11-28 17:40:48 +0100
committerspicyjpeg <88942473+spicyjpeg@users.noreply.github.com>2021-11-28 17:40:48 +0100
commit6d9ceda63aefe8910e798b6b38a7783d00b855f1 (patch)
treeccff94aa3cbfda72a45f14219cdad97d99d6e9bf /cpack/setup.cmake
parent603b42797c4b0e7a3e2a3cac320daecf1ee34feb (diff)
downloadpsn00bsdk-6d9ceda63aefe8910e798b6b38a7783d00b855f1.tar.gz
Refactor libpsn00b CMake scripts, move include directory
Diffstat (limited to 'cpack/setup.cmake')
-rw-r--r--cpack/setup.cmake14
1 files changed, 10 insertions, 4 deletions
diff --git a/cpack/setup.cmake b/cpack/setup.cmake
index 33f127e..57568bb 100644
--- a/cpack/setup.cmake
+++ b/cpack/setup.cmake
@@ -14,10 +14,10 @@ set(
BUNDLE_TOOLCHAIN OFF
CACHE BOOL "Include the GCC toolchain in installer packages"
)
-set(
- BUNDLE_CMAKE OFF
- CACHE BOOL "Include CMake in installer packages (Windows only)"
-)
+#set(
+ #BUNDLE_CMAKE OFF
+ #CACHE BOOL "Include CMake in installer packages (Windows only)"
+#)
## Bundled components
@@ -134,6 +134,7 @@ set(
CPACK_NSIS_MENU_LINKS
"${PROJECT_HOMEPAGE_URL}" "About PSn00bSDK"
"https://github.com/Lameguy64/PSn00bSDK" "GitHub repo"
+ "Uninstall.exe" "Uninstall PSn00bSDK"
)
# Paths in CPACK_NSIS_* variables are not converted to native paths by CMake
@@ -166,6 +167,11 @@ cpack_add_component(
DISPLAY_NAME "SDK documentation"
DESCRIPTION "Select to install additional documentation files and a project template (recommended)."
)
+cpack_add_component(
+ examples
+ DISPLAY_NAME "SDK examples"
+ DESCRIPTION "Select to copy the examples' source code to the documentation folder (recommended)."
+)
if(BUNDLE_TOOLCHAIN)
cpack_add_component(