forked from eclipse-ecal/ecal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
144 lines (144 loc) · 3.79 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
142
143
144
{
"version": 3,
"configurePresets": [
{
"name": "default",
"displayName": "Default",
"description": "Common settings for all presets.",
"binaryDir": "${sourceDir}/out/${presetName}/build",
"installDir": "${sourceDir}/out/${presetName}/install",
"cacheVariables": {
"CMAKE_PROJECT_TOP_LEVEL_INCLUDES": "cmake/submodule_dependencies.cmake"
}
},
{
"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_CORE_CONFIGURATION": "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_CURL": "OFF",
"ECAL_THIRDPARTY_BUILD_HDF5": "OFF"
}
},
{
"name": "python",
"inherits": "core",
"displayName": "Python Extensions",
"description": "Minimal build for Python extensions",
"cacheVariables": {
"HAS_HDF5": "ON",
"BUILD_PY_BINDING": "ON",
"BUILD_SHARED": "OFF",
"ECAL_THIRDPARTY_BUILD_HDF5": "ON"
}
},
{
"name": "docs",
"inherits": "python",
"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",
"BUILD_SAMPLES": "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_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": "python",
"description": "Build python extensions",
"configurePreset": "python",
"targets": "ecal_python"
},
{
"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"
}
]
}