aboutsummaryrefslogtreecommitdiff
path: root/CMakePresets.json
diff options
context:
space:
mode:
authorspicyjpeg <88942473+spicyjpeg@users.noreply.github.com>2021-10-31 15:18:26 +0100
committerspicyjpeg <88942473+spicyjpeg@users.noreply.github.com>2021-10-31 15:18:26 +0100
commit74388f8ff7df42bcdc8e113967a0d1c1902a9027 (patch)
tree2ccade54664b97f060f2a1fc93834ee469e1d648 /CMakePresets.json
parent8b09040cf56bf732eccfc8a4bb1193d9ef0b10ac (diff)
downloadpsn00bsdk-74388f8ff7df42bcdc8e113967a0d1c1902a9027.tar.gz
Added CMake presets, updated installation guide
Diffstat (limited to 'CMakePresets.json')
-rw-r--r--CMakePresets.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/CMakePresets.json b/CMakePresets.json
new file mode 100644
index 0000000..50cf671
--- /dev/null
+++ b/CMakePresets.json
@@ -0,0 +1,29 @@
+{
+ "version": 3,
+ "cmakeMinimumRequired": {
+ "major": 3,
+ "minor": 21,
+ "patch": 0
+ },
+ "configurePresets": [
+ {
+ "name": "default",
+ "displayName": "Default configuration",
+ "description": "Use this preset when building the SDK for local installation.",
+ "generator": "Ninja",
+ "binaryDir": "${sourceDir}/build"
+ },
+ {
+ "name": "package",
+ "displayName": "Installer package",
+ "description": "Use this preset to build installer packages via CPack.",
+ "generator": "Ninja",
+ "binaryDir": "${sourceDir}/build",
+ "cacheVariables": {
+ "CMAKE_BUILD_TYPE": "Release",
+ "SKIP_EXAMPLES": "ON",
+ "BUNDLE_TOOLCHAIN": "ON"
+ }
+ }
+ ]
+}