forked from inviwo/inviwo
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCMakePresets.json
85 lines (80 loc) · 3.89 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
{
"version": 1,
"cmakeMinimumRequired": { "major": 3, "minor": 19, "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_UNIT_TESTS_RUN_ON_BUILD": { "type": "BOOL", "value": "OFF"},
"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,
"environment": {
"VCPKG_OVERLAY_PORTS" : "${sourceDir}/tools/vcpkg"
},
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE" : "${sourceParentDir}/vcpkg/scripts/buildsystems/vcpkg.cmake",
"IVW_CFG_VCPKG_OVERLAYS": "${sourceDir}/tools/vcpkg",
"IVW_USE_EXTERNAL_ASSIMP": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_BENCHMARK": { "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_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_JSON": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_CIMG": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_GLEW": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_TCLAP": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_UTFCPP": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_TINYDIR": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_PYBIND11": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_OPENEXR": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_SGCT": { "type": "BOOL", "value": "ON"},
"IVW_USE_EXTERNAL_NIFTI": { "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 Development",
"description": "MSVC Development configuration",
"generator": "Visual Studio 16 2019",
"architecture" : "x64",
"binaryDir": "${sourceParentDir}/builds/msvc-dev",
"inherits" : ["modules", "develop"]
},
{
"name": "msvc-dev-vcpkg",
"displayName": "MSVC Development VCPKG",
"description": "MSVC Development VCPKG configuration",
"binaryDir": "${sourceParentDir}/builds/msvc-dev-vcpkg",
"inherits" : ["vcpkg", "msvc-dev"]
}
]
}