From 74388f8ff7df42bcdc8e113967a0d1c1902a9027 Mon Sep 17 00:00:00 2001 From: spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> Date: Sun, 31 Oct 2021 15:18:26 +0100 Subject: Added CMake presets, updated installation guide --- CMakePresets.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 CMakePresets.json (limited to 'CMakePresets.json') 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" + } + } + ] +} -- cgit v1.2.3