forked from lvgl/lvgl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
116 lines (116 loc) · 2.75 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"version": 3,
"configurePresets": [
{
"name": "_base",
"hidden": true,
"cacheVariables": {
"LV_CONF_SKIP": true
}
},
{
"name": "windows-base",
"inherits": "_base",
"generator": "Visual Studio 17 2022",
"binaryDir": "${sourceDir}/build/${presetName}",
"installDir": "${sourceDir}/build/install/${presetName}",
"cacheVariables": {
"CMAKE_C_COMPILER": "cl.exe",
"CMAKE_CXX_COMPILER": "cl.exe",
"BUILD_SHARED_LIBS": "ON"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"architecture": {
"value": "x64",
"strategy": "external"
}
},
{
"name": "linux-base",
"inherits": "_base",
"displayName": "Linux",
"description": "Setup WSL or native linux",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/build/${presetName}",
"installDir": "${sourceDir}/build/${presetName}",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
},
"vendor": {
"microsoft.com/VisualStudioRemoteSettings/CMake/1.0": {
"sourceDir": "$env{HOME}/.vs/$ms{projectDirName}"
}
},
"cacheVariables": {
"BUILD_SHARED_LIBS": "ON"
}
}
],
"buildPresets": [
{
"name": "_base",
"hidden": true,
"jobs": 12
},
{
"name": "windows-base_dbg",
"inherits": "_base",
"displayName": "Debug",
"configurePreset": "windows-base",
"configuration": "Debug"
},
{
"name": "windows-base_rel",
"inherits": "_base",
"displayName": "Release",
"configurePreset": "windows-base",
"configuration": "Release"
},
{
"name": "linux-base_dbg",
"inherits": "_base",
"displayName": "Debug",
"configurePreset": "linux-base",
"configuration": "Debug"
},
{
"name": "linux-base_rel",
"inherits": "_base",
"displayName": "Release",
"configurePreset": "linux-base",
"configuration": "Release"
}
],
"testPresets": [
{
"name": "windows-base_dbg",
"displayName": "Debug",
"configurePreset": "windows-base",
"configuration": "Debug"
},
{
"name": "windows-base_rel",
"displayName": "Release",
"configurePreset": "windows-base",
"configuration": "Release"
},
{
"name": "linux-base_dbg",
"displayName": "Debug",
"configurePreset": "linux-base",
"configuration": "Debug"
},
{
"name": "linux-base_rel",
"displayName": "Release",
"configurePreset": "linux-base",
"configuration": "Release"
}
]
}