|
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 | }
|
| 21 | + }, |
| 22 | + { |
| 23 | + "name": "lightstorm-macos", |
| 24 | + "inherits": "lightstorm-defaults", |
| 25 | + "cacheVariables": { |
| 26 | + "CMAKE_C_COMPILER": "clang", |
| 27 | + "CMAKE_CXX_COMPILER": "clang++", |
| 28 | + "CMAKE_PREFIX_PATH": "/opt/homebrew/opt/llvm@19" |
| 29 | + } |
| 30 | + } |
| 31 | + ], |
| 32 | + "buildPresets": [ |
| 33 | + { |
| 34 | + "name": "lightstorm-ubuntu", |
| 35 | + "configurePreset": "lightstorm-ubuntu" |
| 36 | + }, |
| 37 | + { |
| 38 | + "name": "lightstorm-ubuntu-tests", |
| 39 | + "inherits": "lightstorm-ubuntu", |
| 40 | + "targets": "run-integration-tests" |
| 41 | + }, |
| 42 | + { |
| 43 | + "name": "lightstorm-ubuntu-install", |
| 44 | + "inherits": "lightstorm-ubuntu", |
| 45 | + "targets": "install" |
| 46 | + }, |
| 47 | + { |
| 48 | + "name": "lightstorm-macos", |
| 49 | + "configurePreset": "lightstorm-macos" |
| 50 | + }, |
| 51 | + { |
| 52 | + "name": "lightstorm-macos-tests", |
| 53 | + "inherits": "lightstorm-macos", |
| 54 | + "targets": "run-integration-tests" |
| 55 | + }, |
| 56 | + { |
| 57 | + "name": "lightstorm-macos-install", |
| 58 | + "inherits": "lightstorm-macos", |
| 59 | + "targets": "install" |
| 60 | + } |
| 61 | + ], |
| 62 | + "workflowPresets": [ |
| 63 | + { |
| 64 | + "name": "lightstorm-ubuntu-ci", |
| 65 | + "steps": [ |
| 66 | + { |
| 67 | + "type": "configure", |
| 68 | + "name": "lightstorm-ubuntu" |
| 69 | + }, |
| 70 | + { |
| 71 | + "type": "build", |
| 72 | + "name": "lightstorm-ubuntu-tests" |
| 73 | + } |
| 74 | + ] |
| 75 | + }, |
| 76 | + { |
| 77 | + "name": "lightstorm-ubuntu-install", |
| 78 | + "steps": [ |
| 79 | + { |
| 80 | + "type": "configure", |
| 81 | + "name": "lightstorm-ubuntu" |
| 82 | + }, |
| 83 | + { |
| 84 | + "type": "build", |
| 85 | + "name": "lightstorm-ubuntu-install" |
| 86 | + } |
| 87 | + ] |
| 88 | + }, |
| 89 | + { |
| 90 | + "name": "lightstorm-macos-ci", |
| 91 | + "steps": [ |
| 92 | + { |
| 93 | + "type": "configure", |
| 94 | + "name": "lightstorm-macos" |
| 95 | + }, |
| 96 | + { |
| 97 | + "type": "build", |
| 98 | + "name": "lightstorm-macos-tests" |
| 99 | + } |
| 100 | + ] |
| 101 | + }, |
| 102 | + { |
| 103 | + "name": "lightstorm-macos-install", |
| 104 | + "steps": [ |
| 105 | + { |
| 106 | + "type": "configure", |
| 107 | + "name": "lightstorm-macos" |
| 108 | + }, |
| 109 | + { |
| 110 | + "type": "build", |
| 111 | + "name": "lightstorm-macos-install" |
| 112 | + } |
| 113 | + ] |
17 | 114 | }
|
18 | 115 | ]
|
19 | 116 | }
|
0 commit comments