summaryrefslogtreecommitdiff
path: root/libs/raylib/cmake/PackConfigurations.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'libs/raylib/cmake/PackConfigurations.cmake')
-rw-r--r--libs/raylib/cmake/PackConfigurations.cmake13
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/raylib/cmake/PackConfigurations.cmake b/libs/raylib/cmake/PackConfigurations.cmake
new file mode 100644
index 0000000..74eded0
--- /dev/null
+++ b/libs/raylib/cmake/PackConfigurations.cmake
@@ -0,0 +1,13 @@
+# Packaging
+SET(CPACK_PACKAGE_NAME "raylib")
+SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Simple and easy-to-use library to enjoy videogames programming")
+SET(CPACK_PACKAGE_VERSION "${PROJECT_VERSION}")
+SET(CPACK_PACKAGE_VERSION_MAJOR "${PROJECT_VERSION_MAJOR}")
+SET(CPACK_PACKAGE_VERSION_MINOR "${PROJECT_VERSION_MINOR}")
+SET(CPACK_PACKAGE_VERSION_PATCH "${PROJECT_VERSION_PATCH}")
+SET(CPACK_PACKAGE_DESCRIPTION_FILE "${PROJECT_SOURCE_DIR}/../README.md")
+SET(CPACK_RESOURCE_FILE_WELCOME "${PROJECT_SOURCE_DIR}/../README.md")
+SET(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/../LICENSE")
+SET(CPACK_PACKAGE_FILE_NAME "raylib-${PROJECT_VERSION}$ENV{RAYLIB_PACKAGE_SUFFIX}")
+SET(CPACK_GENERATOR "ZIP;TGZ") # Remove this, if you want the NSIS installer on Windows
+include(CPack) \ No newline at end of file