|
| 1 | +{ |
| 2 | + "version": 7, |
| 3 | + "cmakeMinimumRequired": { |
| 4 | + "major": 3, |
| 5 | + "minor": 23, |
| 6 | + "patch": 0 |
| 7 | + }, |
| 8 | + "configurePresets": [ |
| 9 | + { |
| 10 | + "name": "common", |
| 11 | + "hidden": true, |
| 12 | + "generator": "Ninja", |
| 13 | + "binaryDir": "${sourceDir}/build/${presetName}", |
| 14 | + "installDir": "${sourceDir}/build/${presetName}/install", |
| 15 | + "cacheVariables": { |
| 16 | + "CMAKE_BUILD_TYPE": "RelWithDebInfo", |
| 17 | + "DLT_APP_DIR_NAME": "DLTViewer", |
| 18 | + "DLT_EXECUTABLE_INSTALLATION_PATH": "DLTViewer/usr/bin", |
| 19 | + "DLT_LIBRARY_INSTALLATION_PATH": "DLTViewer/usr/lib", |
| 20 | + "DLT_PARSER": "OFF", |
| 21 | + "DLT_PLUGIN_INSTALLATION_PATH": "DLTViewer/usr/bin/plugins", |
| 22 | + "DLT_RESOURCE_INSTALLATION_PATH": "DLTViewer/usr/share", |
| 23 | + "DLT_USE_QT_RPATH": "ON" |
| 24 | + } |
| 25 | + }, |
| 26 | + { |
| 27 | + "name": "debug-gcc", |
| 28 | + "inherits": "common", |
| 29 | + "cacheVariables": { |
| 30 | + "CMAKE_BUILD_TYPE": "Debug", |
| 31 | + "CMAKE_C_COMPILER": "gcc", |
| 32 | + "CMAKE_CXX_COMPILER": "g++" |
| 33 | + } |
| 34 | + }, |
| 35 | + { |
| 36 | + "name": "release-gcc", |
| 37 | + "inherits": "common", |
| 38 | + "cacheVariables": { |
| 39 | + "CMAKE_BUILD_TYPE": "Release", |
| 40 | + "CMAKE_C_COMPILER": "gcc", |
| 41 | + "CMAKE_CXX_COMPILER": "g++" |
| 42 | + } |
| 43 | + }, |
| 44 | + { |
| 45 | + "name": "relwithdebinfo-gcc", |
| 46 | + "inherits": "common", |
| 47 | + "cacheVariables": { |
| 48 | + "CMAKE_BUILD_TYPE": "RelWithDebInfo", |
| 49 | + "CMAKE_C_COMPILER": "gcc", |
| 50 | + "CMAKE_CXX_COMPILER": "g++" |
| 51 | + } |
| 52 | + }, |
| 53 | + { |
| 54 | + "name": "relwithdebinfo-clang", |
| 55 | + "inherits": "common", |
| 56 | + "cacheVariables": { |
| 57 | + "CMAKE_BUILD_TYPE": "RelWithDebInfo", |
| 58 | + "CMAKE_C_COMPILER": "clang", |
| 59 | + "CMAKE_CXX_COMPILER": "clang++" |
| 60 | + } |
| 61 | + } |
| 62 | + ], |
| 63 | + "buildPresets": [ |
| 64 | + { |
| 65 | + "name": "build-debug-gcc", |
| 66 | + "description": "", |
| 67 | + "displayName": "", |
| 68 | + "configurePreset": "debug-gcc" |
| 69 | + } |
| 70 | + ], |
| 71 | + "testPresets": [ |
| 72 | + { |
| 73 | + "name": "test-debug-gcc", |
| 74 | + "description": "", |
| 75 | + "displayName": "", |
| 76 | + "configurePreset": "debug-gcc" |
| 77 | + } |
| 78 | + ] |
| 79 | +} |
0 commit comments