forked from projectchrono/chrono
-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakePresets.json
141 lines (141 loc) · 4.45 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": 1,
"vendor": {
"projectchrono.org/chrono/7.0.2" : {}
},
"cmakeMinimumRequired": {
"major": 3,
"minor": 19,
"patch": 0
},
"configurePresets": [
{
"name": "genericci-base",
"displayName": "General CI Base Configuration",
"hidden": true,
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"BUILD_TESTING": "ON",
"BUILD_BENCHMARKING": "ON",
"ENABLE_HDF5": "ON",
"ENABLE_MODULE_POSTPROCESS": "ON",
"ENABLE_MODULE_PYTHON": "ON",
"ENABLE_MODULE_IRRLICHT": "ON",
"ENABLE_MODULE_VEHICLE": "ON",
"ENABLE_MODULE_MULTICORE": "ON",
"ENABLE_MODULE_OPENGL": "ON",
"ENABLE_MODULE_SYNCHRONO": "ON",
"ENABLE_MODULE_CSHARP": "ON",
"ENABLE_MODULE_COSIMULATION": "OFF"
}
},
{
"name": "unixci-base",
"displayName": "Unix CI Base Configuration",
"hidden": true,
"inherits": "genericci-base",
"generator": "Ninja"
},
{
"name": "linuxci",
"displayName": "Linux CI Configuration",
"description": "Options for Linux platforms",
"inherits": [
"unixci-base",
"genericci-base"
],
"cacheVariables": {
"ENABLE_MODULE_DISTRIBUTED": "ON",
"ENABLE_MODULE_FSI": "ON",
"ENABLE_MODULE_GPU": "ON",
"CMAKE_CXX_FLAGS": "-fdiagnostics-color=always",
"ENABLE_MODULE_SENSOR": "ON",
"OptiX_INSTALL_DIR": "/opt/optix/7.2.0"
}
},
{
"name": "macosci",
"displayName": "macOS CI Configuration",
"description": "Options for macOS (with brew)",
"inherits": [
"unixci-base",
"genericci-base"
],
"cacheVariables": {
"CMAKE_CXX_FLAGS": "-Wno-deprecated-declarations -Wno-unused-command-line-argument -fcolor-diagnostics",
"OpenMP_CXX_FLAGS": "-Xpreprocessor -fopenmp -I/usr/local/opt/libomp/include",
"OpenMP_CXX_LIB_NAMES": "omp",
"OpenMP_omp_LIBRARY": "/usr/local/opt/libomp/lib/libomp.a",
"EIGEN3_INCLUDE_DIR": "/usr/local/include/eigen3",
"BLAZE_DIR": "/usr/local/include",
"ENABLE_MODULE_DISTRIBUTED": "OFF",
"ENABLE_MODULE_FSI": "OFF",
"ENABLE_MODULE_GPU": "OFF",
"USE_MULTICORE_CUDA": "OFF",
"ENABLE_MODULE_SENSOR": "OFF"
}
},
{
"name": "windowsci-base",
"displayName": "Windows CI Base Configuration",
"hidden": true,
"inherits": "genericci-base",
"cacheVariables": {
"ENABLE_MODULE_PARDISO_MKL": "ON",
"BLAZE_DIR": "C:/Users/builder/Documents/blaze-3.7",
"EIGEN3_INCLUDE_DIR": "C:/Users/builder/Documents/eigen-3.3.9",
"GLEW_DLL": "C:/Users/builder/Documents/glew-2.2.0/bin/Release/x64/glew32.dll",
"GLEW_INCLUDE_DIR": "C:/Users/builder/Documents/glew-2.2.0/include",
"GLEW_LIBRARY": "C:/Users/builder/Documents/glew-2.2.0/lib/Release/x64/glew32.lib",
"GLFW_DLL": "C:/Users/builder/Documents/glfw-3.3.5/lib-vc2019/glfw3.dll",
"GLFW_INCLUDE_DIR": "C:/Users/builder/Documents/glfw-3.3.5/include",
"GLFW_LIBRARY": "C:/Users/builder/Documents/glfw-3.3.5/lib-vc2019/glfw3dll.lib",
"GLM_INCLUDE_DIR": "C:/Users/builder/Documents/glm-0.9.9.8",
"IRRLICHT_LIBRARY": "C:/Users/builder/Documents/irrlicht-1.8.5/lib/Win64-visualStudio/Irrlicht.lib",
"IRRLICHT_ROOT": "C:/Users/builder/Documents/irrlicht-1.8.5",
"PYTHON_EXECUTABLE": "C:/Users/builder/miniconda3/python.exe",
"SWIG_EXECUTABLE": "C:/Users/builder/Documents/swigwin-4.0.2/swig.exe",
"USE_MULTICORE_CUDA": "OFF",
"ENABLE_HDF5": "OFF"
}
},
{
"name": "windowsci-vs2019",
"displayName": "Windows CI Configuration for Visual Studio 2022 (as 2019)",
"description": "Options for Windows with Visual Studio 2019 toolchain",
"generator": "Visual Studio 17 2022",
"architecture": "x64",
"toolset": "v142",
"inherits": [
"windowsci-base",
"genericci-base"
],
"cacheVariables": {
"ENABLE_MODULE_GPU": "ON",
"ENABLE_MODULE_FSI": "OFF",
"ENABLE_MODULE_SENSOR": "OFF",
"OptiX_INSTALL_DIR": "C:/Program Files/NVIDIA Corporation/OptiX SDK 7.2.0"
}
},
{
"name": "windowsci-vs2022",
"displayName": "Windows CI Configuration for Visual Studio 2022",
"description": "Options for Windows with Visual Studio 2022 toolchain",
"generator": "Visual Studio 17 2022",
"architecture": "x64",
"toolset": "v143",
"inherits": [
"windowsci-base",
"genericci-base"
],
"cacheVariables": {
"ENABLE_MODULE_GPU": "OFF",
"ENABLE_MODULE_MULTICORE": "OFF",
"ENABLE_MODULE_FSI": "OFF",
"ENABLE_MODULE_SENSOR": "OFF",
"OptiX_INSTALL_DIR": "C:/Program Files/NVIDIA Corporation/OptiX SDK 7.2.0"
}
}
]
}