forked from inviwo/inviwo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
89 lines (84 loc) · 4.07 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
{
"version": 3,
"cmakeMinimumRequired": { "major": 3, "minor": 21, "patch": 0 },
"configurePresets": [
{
"name": "develop",
"hidden": true,
"cacheVariables": {
"BUILD_SHARED_LIBS": { "type": "BOOL", "value": "ON"},
"IVW_CFG_CMAKE_DEBUG": { "type": "BOOL", "value": "ON"},
"IVW_CFG_PROFILING": { "type": "BOOL", "value": "ON"},
"IVW_CFG_PRECOMPILED_HEADERS": { "type": "BOOL", "value": "OFF"},
"IVW_CFG_FORCE_ASSERTIONS": { "type": "BOOL", "value": "ON"},
"IVW_CFG_BUILD_CHANGELOG": { "type": "BOOL", "value": "ON"},
"IVW_APP_MINIMAL_GLFW": { "type": "BOOL", "value": "ON"},
"IVW_APP_MINIMAL_QT": { "type": "BOOL", "value": "ON"},
"IVW_TEST_BENCHMARKS": { "type": "BOOL", "value": "ON"},
"IVW_TEST_INTEGRATION_TESTS": { "type": "BOOL", "value": "ON"},
"IVW_PACKAGE_INSTALLER": { "type": "BOOL", "value": "ON"},
"IVW_USE_OPENMP": { "type": "BOOL", "value": "OFF"},
"IVW_USE_OPENEXR": { "type": "BOOL", "value": "ON"}
}
},
{
"name": "vcpkg",
"hidden": true,
"toolchainFile": "${sourceParentDir}/vcpkg/scripts/buildsystems/vcpkg.cmake",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "${sourceParentDir}/vcpkg/scripts/buildsystems/vcpkg.cmake",
"IVW_USE_EXTERNAL_ASSIMP": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_BENCHMARK": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_CIMG": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_EIGEN": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_FMT": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_FREETYPE": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_GLEW": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_GLFW": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_GLM": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_GTEST": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_HDF5": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_IMG": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_INJA": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_JSON": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_NIFTI": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_OPENEXR": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_PEGTL": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_PYBIND11": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_ROARING": { "type": "BOOL", "value": "OFF"},
"IVW_USE_EXTERNAL_SGCT": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_TCLAP": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_TIFF": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_UTFCPP": { "type": "BOOL", "value": "ON"}
}
},
{
"name": "modules",
"hidden": true,
"cacheVariables": {
"IVW_EXTERNAL_MODULES" : "${sourceParentDir}/modules/misc;${sourceParentDir}/modules/medvis;${sourceParentDir}/modules/molvis;${sourceParentDir}/modules/tensorvis;${sourceParentDir}/modules/topovis;${sourceParentDir}/modules/vectorvis"
}
},
{
"name": "msvc-dev",
"displayName": "MSVC 2022",
"description": "MSVC 2022 Development configuration",
"generator": "Visual Studio 17 2022",
"architecture" : "x64",
"inherits" : ["develop"]
},
{
"name": "msvc-dev-vcpkg",
"displayName": "MSVC 2022 Using vcpkg",
"description": "MSVC 2022 Development using vcpkg configuration",
"inherits" : ["vcpkg", "msvc-dev"]
},
{
"name": "ninja-dev-vcpkg",
"displayName": "Ninja using vcpkg",
"description": "Ninja development using vcpkg configuration",
"generator": "Ninja",
"inherits" : ["vcpkg", "develop"]
}
]
}