-
Notifications
You must be signed in to change notification settings - Fork 344
/
Copy pathCMakePresets.json
62 lines (62 loc) · 1.58 KB
/
CMakePresets.json
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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 19,
"patch": 0
},
"configurePresets": [
{
"name": "dev",
"displayName": "Development Mode",
"description": "Build with warnings and debug symbols",
"binaryDir": "build",
"generator": "Unix Makefiles",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "system",
"displayName": "Build for system installation",
"description": "Build for system installation (MATPLOTPP_BUILD_EXAMPLES and MATPLOTPP_BUILD_TESTS are OFF)",
"binaryDir": "${sourceDir}/build/system",
"generator": "Unix Makefiles",
"cacheVariables": {
"MATPLOTPP_BUILD_EXAMPLES": "OFF",
"MATPLOTPP_BUILD_TESTS": "OFF",
"MATPLOTPP_BUILD_SHARED_LIBS": "ON",
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": "ON"
}
},
{
"name": "local",
"displayName": "Build for installation in $HOME/.local",
"description": "Build for installaton in $HOME/.local",
"inherits": "system",
"binaryDir": "${sourceDir}/build/local",
"installDir": "$env{HOME}/.local"
}
],
"buildPresets": [
{
"name": "dev",
"configurePreset": "dev",
"configuration": "RelWithDebInfo",
"jobs": 8
},
{
"name": "system",
"configurePreset": "system",
"configuration": "Release",
"jobs": 8
},
{
"name": "local",
"configurePreset": "local",
"configuration": "Release",
"jobs": 8
}
]
}