-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
72 lines (72 loc) · 2.09 KB
/
CMakePresets.json
File metadata and controls
72 lines (72 loc) · 2.09 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"version": 3,
"configurePresets": [
{
"name": "base",
"hidden": true,
"cacheVariables": {
"CMAKE_CXX_STANDARD": "17",
"CMAKE_CXX_STANDARD_REQUIRED": "ON",
"TOOLCHAIN": "gcc-13-x86-64-linux-gnu"
}
},
{
"name": "x86_64-Release",
"displayName": "x86_64 Release",
"inherits": "base",
"binaryDir": "${sourceDir}/build/x86_64/Release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_MODULE_PATH": "${sourceDir}/build/x86_64/Release/generators",
"CMAKE_PREFIX_PATH": "${sourceDir}/build/x86_64/Release/generators"
}
},
{
"name": "x86_64-Debug",
"displayName": "x86_64 Debug",
"inherits": "base",
"binaryDir": "${sourceDir}/build/x86_64/Debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_MODULE_PATH": "${sourceDir}/build/x86_64/Debug/generators",
"CMAKE_PREFIX_PATH": "${sourceDir}/build/x86_64/Debug/generators"
}
},
{
"name": "armv8-Release",
"displayName": "armv8 Release",
"inherits": "base",
"binaryDir": "${sourceDir}/build/armv8/Release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_MODULE_PATH": "${sourceDir}/build/armv8/Release/generators",
"CMAKE_PREFIX_PATH": "${sourceDir}/build/armv8/Release/generators",
"CMAKE_CXX_COMPILER": "/aarch64-linux-musl-cross/bin/aarch64-linux-musl-g++",
"CMAKE_FIND_LIBRARY_SUFFIXES": ".a",
"BUILD_SHARED_LIBS": "OFF",
"CMAKE_EXE_LINKER_FLAGS": "-static",
"CMAKE_CROSSCOMPILING": "ON",
"CMAKE_SYSTEM_NAME": "Linux",
"CMAKE_SYSTEM_PROCESSOR": "aarch64",
"TOOLCHAIN": "aarch64-linux-musl-cross"
}
}
],
"buildPresets": [
{
"name": "x86_64-Release",
"configurePreset": "x86_64-Release",
"jobs": 8
},
{
"name": "x86_64-Debug",
"configurePreset": "x86_64-Debug",
"jobs": 8
},
{
"name": "armv8-Release",
"configurePreset": "armv8-Release",
"jobs": 8
}
]
}