summaryrefslogtreecommitdiff
path: root/CMakePresets.json
diff options
context:
space:
mode:
authorJuan Ramos <juan@lunarg.com>2022-11-14 14:33:54 -0700
committerJuan Ramos <114601453+juan-lunarg@users.noreply.github.com>2022-11-15 10:17:16 -0700
commitee69d268dd04bdd80fe6ad277b7cf98160d8ea19 (patch)
treecaa567a22ebd828729d90c33420c50402efa0f9d /CMakePresets.json
parent91b97cf42b44a0f01545f719c2c015b00a34e5b2 (diff)
downloadVulkan-ValidationLayers-ee69d268dd04bdd80fe6ad277b7cf98160d8ea19.tar.gz
Vulkan-ValidationLayers-ee69d268dd04bdd80fe6ad277b7cf98160d8ea19.tar.bz2
Vulkan-ValidationLayers-ee69d268dd04bdd80fe6ad277b7cf98160d8ea19.zip
cmake: Add CMakePresets.json
Quality of life for developers, to use regular build flags
Diffstat (limited to 'CMakePresets.json')
-rw-r--r--CMakePresets.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/CMakePresets.json b/CMakePresets.json
new file mode 100644
index 000000000..0f22c9da9
--- /dev/null
+++ b/CMakePresets.json
@@ -0,0 +1,21 @@
+{
+ "version": 3,
+ "cmakeMinimumRequired": {
+ "major": 3,
+ "minor": 21,
+ "patch": 0
+ },
+ "configurePresets": [
+ {
+ "name": "dev",
+ "displayName": "Generic Developer Preset",
+ "description": "Sets common developer flags",
+ "cacheVariables": {
+ "BUILD_TESTS": "ON",
+ "BUILD_WERROR": "ON",
+ "UPDATE_DEPS": "ON",
+ "CMAKE_BUILD_TYPE": "Debug"
+ }
+ }
+ ]
+} \ No newline at end of file