-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCMakePresets.json
53 lines (53 loc) · 1.28 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
{
"version": 6,
"configurePresets": [
{
"name": "base",
"binaryDir": "${sourceDir}/build/${presetName}",
"generator": "Ninja",
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
"VCPKG_USE_HOST_TOOLS": true,
"SESE_ENABLE_ASAN": true,
"SESE_ENABLE_COVERAGE": false,
"SESE_BUILD_TEST": true,
"SESE_BUILD_EXAMPLE": true,
"SESE_USE_ARCHIVE": true,
"SESE_DB_USE_MARIADB": true,
"SESE_DB_USE_POSTGRES": true,
"SESE_DB_USE_SQLITE": true
}
}
],
"buildPresets": [
{
"name": "base",
"configurePreset": "base"
}
],
"testPresets": [
{
"name": "test",
"description": "Run all tests.",
"configurePreset": "base",
"environment": {
"GTEST_OUTPUT": "xml:build/test_report.xml"
},
"output": {
"verbosity": "verbose"
}
},
{
"name": "test-without-db",
"description": "Run all tests excluding database-driven test suites.",
"environment": {
"GTEST_FILTER": "-TestMaria*:TestPostgres*:TestSqlite*"
},
"inherits": [
"test"
]
}
]
}