-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakePresets.json
66 lines (66 loc) · 1.89 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
63
64
65
66
{
"version": 2,
"cmakeMinimumRequired": {
"major": 3,
"minor": 22,
"patch": 0
},
"configurePresets": [
{
"name": "llvm-target-test",
"displayName": "llvm-target-test",
"description": "Unity RTT Tests",
"generator": "Ninja",
"environment": {
"CORTEX_TYPE": "CM0",
"LLVM_CLANG_ROOT_FOLDER": "/Users/sohal/llvm_arm",
"SEGGER_JLINK_ROOT_FOLDER": "/Applications/SEGGER/JLink"
},
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"FETCHCONTENT_UPDATES_DISCONNECTED": "OFF",
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}",
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/_deps/cmake_scripts-src/toolchains/llvm_clang_arm.cmake",
"GITHUB_BRANCH_TOOLCHAIN": "HEAD",
"STM32_TYPE": "f0",
"STM32_DEVICE": "STM32F031x6",
"JLINK_DEVICE": "STM32F031K6"
}
},
{
"name": "llvm-host-test",
"displayName": "llvm-host-test",
"description": "Unity on host test",
"generator": "Ninja",
"environment": {
},
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"FETCHCONTENT_UPDATES_DISCONNECTED": "OFF",
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}"
}
}
],
"buildPresets": [
{
"name": "llvm-target-test",
"configurePreset": "llvm-target-test"
},
{
"name": "llvm-host-test",
"configurePreset": "llvm-host-test"
}
],
"testPresets": [
{
"name": "llvm-target-test",
"configurePreset": "llvm-target-test"
},
{
"name": "llvm-host-test",
"configurePreset": "llvm-host-test"
}
]
}