-
Notifications
You must be signed in to change notification settings - Fork 177
/
CMakePresets.json
141 lines (141 loc) · 3.72 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"version": 3,
"configurePresets": [
{
"name": "default",
"displayName": "Default",
"description": "Common settings for all presets.",
"binaryDir": "${sourceDir}/out/${presetName}/build",
"installDir": "${sourceDir}/out/${presetName}/install"
},
{
"name": "release",
"hidden": true,
"description": "Single config Release build for inheriting",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "debug",
"hidden": true,
"description": "Single config Debug build for inheriting",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "relwithdebinfo",
"hidden": true,
"description": "Single config RelWithDebInfo build for inheriting",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "core",
"inherits": [
"default",
"release"
],
"displayName": "eCAL Core",
"description": "eCAL core library only configuration",
"cacheVariables": {
"HAS_HDF5": "OFF",
"HAS_QT": "OFF",
"HAS_CURL": "OFF",
"HAS_FTXUI": "OFF",
"BUILD_APPS": "OFF",
"BUILD_SAMPLES": "OFF",
"ECAL_INSTALL_SAMPLE_SOURCES": "OFF",
"ECAL_THIRDPARTY_BUILD_FINEFTP": "OFF",
"ECAL_THIRDPARTY_BUILD_FTXUI": "OFF",
"ECAL_THIRDPARTY_BUILD_SPDLOG": "OFF",
"ECAL_THIRDPARTY_BUILD_TERMCOLOR": "OFF",
"ECAL_THIRDPARTY_BUILD_TINYXML2": "OFF",
"ECAL_THIRDPARTY_BUILD_YAML-CPP": "OFF",
"ECAL_THIRDPARTY_BUILD_CURL": "OFF",
"ECAL_THIRDPARTY_BUILD_HDF5": "OFF"
}
},
{
"name": "wheel",
"inherits": "core",
"displayName": "Python Wheel",
"description": "Minimal build for standalone python wheel",
"cacheVariables": {
"HAS_HDF5": "ON",
"BUILD_PY_BINDING": "ON",
"BUILD_STANDALONE_PY_WHEEL": "ON",
"ECAL_THIRDPARTY_BUILD_HDF5": null
}
},
{
"name": "docs",
"inherits": "wheel",
"displayName": "Documentation",
"description": "Build documentation",
"cacheVariables": {
"BUILD_DOCS": "ON"
}
},
{
"name": "cli",
"inherits": "core",
"displayName": "CLI Apps",
"description": "eCAL CLI applications",
"cacheVariables": {
"HAS_HDF5": "ON",
"HAS_CURL": "ON",
"HAS_FTXUI": "ON",
"BUILD_APPS": "ON",
"ECAL_THIRDPARTY_BUILD_FINEFTP": "ON",
"ECAL_THIRDPARTY_BUILD_FTXUI": "ON",
"ECAL_THIRDPARTY_BUILD_SPDLOG": "ON",
"ECAL_THIRDPARTY_BUILD_TERMCOLOR": "ON",
"ECAL_THIRDPARTY_BUILD_TINYXML2": "ON",
"ECAL_THIRDPARTY_BUILD_YAML-CPP": null,
"ECAL_THIRDPARTY_BUILD_CURL": null,
"ECAL_THIRDPARTY_BUILD_HDF5": null
}
},
{
"name": "gui",
"inherits": "cli",
"displayName": "GUI Apps",
"description": "eCAL GUI and CLI applications",
"cacheVariables": {
"HAS_QT": "ON"
}
}
],
"buildPresets": [
{
"name": "core",
"description": "Build core library only",
"configurePreset": "core"
},
{
"name": "wheel",
"description": "Build standalone python wheel",
"configurePreset": "wheel",
"targets": "create_python_wheel"
},
{
"name": "docs",
"description": "Build sphinx documentation",
"configurePreset": "docs",
"targets": "documentation_sphinx"
},
{
"name": "cli",
"description": "Build CLI apps",
"configurePreset": "cli"
},
{
"name": "gui",
"description": "Build GUI and CLI apps",
"configurePreset": "gui"
}
]
}