|
2 | 2 | "version": 8, |
3 | 3 | "configurePresets": [ |
4 | 4 | { |
5 | | - "name": "lightstorm", |
6 | | - "displayName": "lightstorm", |
7 | | - "description": "Sets Ninja generator, build and install directory", |
| 5 | + "name": "lightstorm-defaults", |
8 | 6 | "generator": "Ninja", |
9 | | - "binaryDir": "${sourceDir}/build.debug.dir/build", |
| 7 | + "binaryDir": "${sourceDir}/build.dir", |
| 8 | + "installDir": "${sourceDir}/install.dir", |
| 9 | + "cacheVariables": { |
| 10 | + "CMAKE_BUILD_TYPE": "Release" |
| 11 | + } |
| 12 | + }, |
| 13 | + { |
| 14 | + "name": "lightstorm-ubuntu", |
| 15 | + "inherits": "lightstorm-defaults", |
10 | 16 | "cacheVariables": { |
11 | | - "CMAKE_BUILD_TYPE": "Debug", |
12 | 17 | "CMAKE_C_COMPILER": "clang-19", |
13 | 18 | "CMAKE_CXX_COMPILER": "clang++-19", |
14 | | - "CMAKE_PREFIX_PATH": "/usr/lib/llvm-19/lib/cmake", |
15 | | - "CMAKE_INSTALL_PREFIX": "${sourceDir}/build.debug.dir/install" |
| 19 | + "CMAKE_PREFIX_PATH": "/usr/lib/llvm-19/lib/cmake" |
16 | 20 | } |
17 | 21 | } |
| 22 | + ], |
| 23 | + "buildPresets": [ |
| 24 | + { |
| 25 | + "name": "lightstorm-ubuntu", |
| 26 | + "configurePreset": "lightstorm-ubuntu" |
| 27 | + }, |
| 28 | + { |
| 29 | + "name": "lightstorm-ubuntu-tests", |
| 30 | + "inherits": "lightstorm-ubuntu", |
| 31 | + "targets": "run-integration-tests" |
| 32 | + } |
18 | 33 | ] |
19 | 34 | } |
0 commit comments