-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathCMakePresets.json
More file actions
107 lines (107 loc) · 3.1 KB
/
Copy pathCMakePresets.json
File metadata and controls
107 lines (107 loc) · 3.1 KB
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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/stage/${presetName}",
"BUILD_SHARED_LIBS": "off",
"DAL_ENABLE_NATIVE_ARCH": "off",
"DAL_USE_XAD_AAD": "off",
"DAL_USE_CODIPACK_AAD": "off",
"DAL_USE_ADEPT_AAD": "off",
"DAL_CPP_BUILD_TESTS": "on",
"DAL_CPP_BUILD_EXAMPLES": "on",
"DAL_CPP_BUILD_BENCHMARKS": "off",
"DAL_PUBLIC_BUILD_TESTS": "on",
"DAL_BUILD_PUBLIC": "on",
"DAL_BUILD_PYTHON": "off",
"DAL_BUILD_EXCEL": "off",
"XAD_ENABLE_TESTS": "off",
"XAD_USE_STRONG_INLINE": "on",
"XAD_NO_THREADLOCAL": "off",
"XAD_SIMD_OPTION": "AVX2",
"XAD_ALLOW_INT_CONVERSION": "off",
"XAD_TAPE_REUSE_SLOTS": "off",
"XAD_ENABLE_JIT": "off",
"XAD_ENABLE_CODEGEN": "off"
}
},
{
"name": "core-dev",
"displayName": "Core C++ development",
"description": "Core and public C++ libraries, tests, and examples without Python or benchmark prerequisites.",
"inherits": "base",
"binaryDir": "${sourceDir}/build/core-dev"
},
{
"name": "full-dev",
"displayName": "Full development workspace",
"description": "Core development plus Python bindings and native benchmarks.",
"inherits": "base",
"binaryDir": "${sourceDir}/build/full-dev",
"cacheVariables": {
"Python3_ROOT_DIR": "${sourceDir}/dal-python/.venv",
"DAL_CPP_BUILD_BENCHMARKS": "on",
"DAL_BUILD_PYTHON": "on"
}
},
{
"name": "distribution",
"displayName": "Portable distribution",
"description": "Portable release libraries and install packages without tests, examples, benchmarks, or native-CPU tuning.",
"inherits": "base",
"binaryDir": "${sourceDir}/build/distribution",
"cacheVariables": {
"DAL_CPP_BUILD_TESTS": "off",
"DAL_CPP_BUILD_EXAMPLES": "off",
"DAL_PUBLIC_BUILD_TESTS": "off"
}
},
{
"name": "Release-windows",
"inherits": "base",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/Release-windows",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"MSVC_RUNTIME": "static",
"XAD_STATIC_MSVC_RUNTIME": "on",
"DAL_BUILD_EXCEL": "on"
}
},
{
"name": "Debug-windows",
"inherits": "base",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/Debug-windows",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"MSVC_RUNTIME": "static",
"XAD_STATIC_MSVC_RUNTIME": "on",
"DAL_BUILD_EXCEL": "on"
}
},
{
"name": "Release-linux",
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "Debug-linux",
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
}
]
}