-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
32 lines (32 loc) · 1.04 KB
/
CMakePresets.json
File metadata and controls
32 lines (32 loc) · 1.04 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
{
"version": 1,
"cmakeMinimumRequired": {
"major": 3,
"minor": 31,
"patch": 4
},
"configurePresets": [
{
"name": "gcc",
"displayName": "GCC",
"description": "Default build options for GCC",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/out/Debug",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "/usr/bin/g++",
"CMAKE_CXX_FLAGS": "-Wall -Werror -fsanitize=address -std=c++23"
}
},
{
"name": "clang",
"displayName": "Clang",
"description": "Default build options for Clang",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/out/Debug",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "/usr/bin/clang++",
"CMAKE_CXX_FLAGS": "-Winconsistent-missing-override -Winconsistent-missing-destructor-override -Wall -Werror -fsanitize=address -std=c++23"
}
}
]
}