diff options
| author | Andre Weissflog <floooh@gmail.com> | 2022-11-20 13:47:06 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2022-11-20 13:47:06 +0100 |
| commit | efa706cb348bf730262a8b72e157b09bc476b9e0 (patch) | |
| tree | 339cadfae33e6943733b100a260350409a61bdf6 /tests/CMakePresets.json | |
| parent | f9c155cda75b0c38c0aa14d00ec4069bdd89d514 (diff) | |
tests: add macos static analysis cmake presets
Diffstat (limited to 'tests/CMakePresets.json')
| -rw-r--r-- | tests/CMakePresets.json | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/tests/CMakePresets.json b/tests/CMakePresets.json index a651e3c3..e672509e 100644 --- a/tests/CMakePresets.json +++ b/tests/CMakePresets.json @@ -25,6 +25,21 @@ } }, { + "name": "macos_gl_analyze", + "generator": "Ninja", + "binaryDir": "build/macos_gl_analyze", + "cacheVariables": { + "SOKOL_BACKEND": "SOKOL_GLCORE33", + "CMAKE_BUILD_TYPE": "Debug", + "USE_ANALYZER": { + "type": "BOOL", + "value": "ON" + }, + "CMAKE_C_COMPILER": "clang", + "CMAKE_CXX_COMPILER": "clang++" + } + }, + { "name": "macos_metal_debug", "generator": "Ninja", "binaryDir": "build/macos_metal_debug", @@ -43,6 +58,21 @@ } }, { + "name": "macos_metal_analyze", + "generator": "Ninja", + "binaryDir": "build/macos_metal_analyze", + "cacheVariables": { + "SOKOL_BACKEND": "SOKOL_METAL", + "CMAKE_BUILD_TYPE": "Debug", + "USE_ANALYZER": { + "type": "BOOL", + "value": "ON" + }, + "CMAKE_C_COMPILER": "clang", + "CMAKE_CXX_COMPILER": "clang++" + } + }, + { "name": "macos_arc_gl_debug", "generator": "Ninja", "binaryDir": "build/macos_arc_gl_debug", @@ -69,6 +99,25 @@ } }, { + "name": "macos_arc_gl_analyze", + "generator": "Ninja", + "binaryDir": "build/macos_arc_gl_analyze", + "cacheVariables": { + "SOKOL_BACKEND": "SOKOL_GLCORE33", + "USE_ARC": { + "type": "BOOL", + "value": "ON" + }, + "CMAKE_BUILD_TYPE": "Debug", + "USE_ANALYZER": { + "type": "BOOL", + "value": "ON" + }, + "CMAKE_C_COMPILER": "clang", + "CMAKE_CXX_COMPILER": "clang++" + } + }, + { "name": "macos_arc_metal_debug", "generator": "Ninja", "binaryDir": "build/macos_arc_metal_debug", @@ -95,6 +144,25 @@ } }, { + "name": "macos_arc_metal_analyze", + "generator": "Ninja", + "binaryDir": "build/macos_arc_metal_analyze", + "cacheVariables": { + "SOKOL_BACKEND": "SOKOL_METAL", + "USE_ARC": { + "type": "BOOL", + "value": "ON" + }, + "CMAKE_BUILD_TYPE": "Debug", + "USE_ANALYZER": { + "type": "BOOL", + "value": "ON" + }, + "CMAKE_C_COMPILER": "clang", + "CMAKE_CXX_COMPILER": "clang++" + } + }, + { "name": "ios_gl", "generator": "Xcode", "binaryDir": "build/ios_gl", @@ -298,6 +366,10 @@ "configurePreset": "macos_gl_release" }, { + "name": "macos_gl_analyze", + "configurePreset": "macos_gl_analyze" + }, + { "name": "macos_metal_debug", "configurePreset": "macos_metal_debug" }, @@ -306,6 +378,10 @@ "configurePreset": "macos_metal_release" }, { + "name": "macos_metal_analyze", + "configurePreset": "macos_metal_analyze" + }, + { "name": "macos_arc_gl_debug", "configurePreset": "macos_arc_gl_debug" }, @@ -314,6 +390,10 @@ "configurePreset": "macos_arc_gl_release" }, { + "name": "macos_arc_gl_analyze", + "configurePreset": "macos_arc_gl_analyze" + }, + { "name": "macos_arc_metal_debug", "configurePreset": "macos_arc_metal_debug" }, @@ -322,6 +402,10 @@ "configurePreset": "macos_arc_metal_release" }, { + "name": "macos_arc_metal_analyze", + "configurePreset": "macos_arc_metal_analyze" + }, + { "name": "ios_gl_debug", "configurePreset": "ios_gl", "configuration": "Debug", |