forked from nasa/fprime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
60 lines (60 loc) · 1.88 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
{
"version": 4,
"configurePresets": [
{
"name": "fprime",
"displayName": "F´ Release Preset",
"description": "F´ release build using local fprime-venv",
"binaryDir": "${sourceDir}/build-fprime-automatic-native",
"environment": {
"VIRTUAL_ENV": "${fileDir}/fprime-venv",
"PATH": "$env{VIRTUAL_ENV}/bin:$penv{PATH}"
},
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "fprime-debug",
"inherits": "fprime",
"displayName": "F´ Debug Preset",
"description": "F´ debug build using local fprime-venv",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "fprime-ut",
"inherits": "fprime-debug",
"displayName": "F´ Unit Test Preset",
"description": "F´ debug build including unit tests using local fprime-venv",
"binaryDir": "${sourceDir}/build-fprime-automatic-native-ut",
"cacheVariables": {
"BUILD_TESTING": "ON"
}
},
{
"name": "fprime-ninja",
"inherits": "fprime",
"displayName": "F´ Release (Ninja) Preset",
"description": "F´ release build using ninja and local fprime-venv",
"generator": "Ninja"
},
{
"name": "fprime-debug-ninja",
"inherits": "fprime-debug",
"displayName": "F´ Debug (Ninja) Preset",
"description": "F´ debug build using ninja and local fprime-venv",
"generator": "Ninja"
},
{
"name": "fprime-ut-ninja",
"inherits": "fprime-ut",
"displayName": "F´ Unit Test (Ninja) Preset",
"description": "F´ debug build including unit tests using ninja and local fprime-venv",
"binaryDir": "${sourceDir}/build-fprime-automatic-native-ut",
"generator": "Ninja"
}
]
}