diff options
Diffstat (limited to 'CMakePresets.json')
-rw-r--r-- | CMakePresets.json | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/CMakePresets.json b/CMakePresets.json new file mode 100644 index 0000000..69774f3 --- /dev/null +++ b/CMakePresets.json | |||
@@ -0,0 +1,34 @@ | |||
1 | { | ||
2 | "version": 3, | ||
3 | "cmakeMinimumRequired": { | ||
4 | "major": 3, | ||
5 | "minor": 1, | ||
6 | "patch": 0 | ||
7 | }, | ||
8 | "configurePresets": [ | ||
9 | { | ||
10 | "name": "lingo-ap-tracker-preset", | ||
11 | "displayName": "Lingo AP Tracker preset", | ||
12 | "description": "Configure with vcpkg toolchain and generate Ninja project files for all configurations", | ||
13 | "binaryDir": "${sourceDir}/builds/${presetName}", | ||
14 | "generator": "Ninja Multi-Config", | ||
15 | "cacheVariables": { | ||
16 | "CMAKE_TOOLCHAIN_FILE": { | ||
17 | "type": "FILEPATH", | ||
18 | "value": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" | ||
19 | } | ||
20 | }, | ||
21 | "environment": { | ||
22 | "VCPKG_ROOT": "./vendor/vcpkg" | ||
23 | } | ||
24 | } | ||
25 | ], | ||
26 | "buildPresets": [ | ||
27 | { | ||
28 | "name": "lingo-ap-tracker-preset", | ||
29 | "configurePreset": "lingo-ap-tracker-preset", | ||
30 | "displayName": "Build lingo-ap-tracker-preset", | ||
31 | "description": "Build" | ||
32 | } | ||
33 | ] | ||
34 | } | ||