Repository navigation
Expand file tree
/
Copy pathCMakePresets.json
More file actions
53 lines (53 loc) · 1.62 KB
/
Copy pathCMakePresets.json
File metadata and controls
53 lines (53 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"version": 3,
"cmakeMinimumRequired": { "major": 3, "minor": 20, "patch": 0 },
"configurePresets": [
{
"name": "default",
"displayName": "MinGW GCC + Ninja (Release, with LLVM)",
"description": "Uses the MinGW GCC toolchain on PATH with the Ninja generator. Links the x64 LLVM-C DLL.",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/default",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_C_COMPILER": "gcc",
"LLVM_C_DIR": "C:/Users/andre/llvm-x64",
"STRATA_ENABLE_LLVM": "ON",
"STRATA_SHARED": "OFF",
"STRATA_STATIC_RUNTIME": "ON"
}
},
{
"name": "llvm-only",
"displayName": "MinGW GCC + Ninja (Release, LLVM only)",
"description": "Builds with the LLVM ORCv2 JIT backend. Links the x64 LLVM-C DLL.",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/llvm-only",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_C_COMPILER": "gcc",
"LLVM_DIR": "C:/llvm/lib/cmake/llvm",
"LLVM_C_DIR": "C:/Users/andre/llvm-x64",
"STRATA_ENABLE_LLVM": "ON",
"STRATA_SHARED": "OFF",
"STRATA_STATIC_RUNTIME": "ON"
}
}
],
"buildPresets": [
{ "name": "default", "configurePreset": "default" },
{ "name": "llvm-only", "configurePreset": "llvm-only" }
],
"testPresets": [
{
"name": "default",
"configurePreset": "default",
"output": { "outputOnFailure": true }
},
{
"name": "llvm-only",
"configurePreset": "llvm-only",
"output": { "outputOnFailure": true }
}
]
}