forked from eclipse-ecal/ecal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePresets.json
129 lines (129 loc) · 3.18 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
{
"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": {
"ECAL_USE_HDF5": "OFF",
"ECAL_USE_QT": "OFF",
"ECAL_USE_CURL": "OFF",
"ECAL_USE_FTXUI": "OFF",
"ECAL_BUILD_APPS": "OFF",
"ECAL_BUILD_SAMPLES": "OFF",
"ECAL_CORE_CONFIGURATION": "OFF",
"ECAL_INSTALL_SAMPLE_SOURCES": "OFF"
}
},
{
"name": "python",
"inherits": "core",
"displayName": "Python Extensions",
"description": "Minimal build for Python extensions",
"cacheVariables": {
"ECAL_USE_HDF5": "ON",
"ECAL_BUILD_PY_BINDING": "ON",
"BUILD_SHARED": "OFF"
}
},
{
"name": "docs",
"inherits": "python",
"displayName": "Documentation",
"description": "Build documentation",
"cacheVariables": {
"ECAL_BUILD_DOCS": "ON"
}
},
{
"name": "cli",
"inherits": "core",
"displayName": "CLI Apps",
"description": "eCAL CLI applications",
"cacheVariables": {
"ECAL_USE_HDF5": "ON",
"ECAL_USE_CURL": "ON",
"ECAL_USE_FTXUI": "ON",
"ECAL_BUILD_APPS": "ON",
"ECAL_BUILD_SAMPLES": "ON"
}
},
{
"name": "gui",
"inherits": "cli",
"displayName": "GUI Apps",
"description": "eCAL GUI and CLI applications",
"cacheVariables": {
"ECAL_USE_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"
}
]
}