Files
Catch2/CMakePresets.json
T

41 lines
1.4 KiB
JSON
Raw Normal View History

2022-02-22 15:47:11 +01:00
{
"version": 3,
"configurePresets": [
{
"name": "basic-tests",
2025-04-26 18:20:10 -06:00
"binaryDir": "build",
"installDir": "build/install",
2022-02-22 15:47:11 +01:00
"displayName": "Basic development build",
"description": "Enables development build with basic tests that are cheap to build and run",
"cacheVariables": {
2025-04-26 18:20:10 -06:00
"CMAKE_CXX_EXTENSIONS": "OFF",
"CMAKE_CXX_STANDARD_REQUIRED": "ON",
2025-04-25 23:28:48 -06:00
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
2022-02-22 15:47:11 +01:00
"CATCH_DEVELOPMENT_BUILD": "ON"
}
},
{
2025-09-23 17:17:29 +02:00
"name": "most-tests",
2022-02-22 15:47:11 +01:00
"inherits": "basic-tests",
"displayName": "Full development build",
2025-09-23 17:17:29 +02:00
"description": "Enables development build with extended set of tests (still relatively cheap to build)",
2022-02-22 15:47:11 +01:00
"cacheVariables": {
"CATCH_BUILD_EXAMPLES": "ON",
"CATCH_BUILD_EXTRA_TESTS": "ON",
"CATCH_BUILD_SURROGATES": "ON",
2025-09-23 17:17:29 +02:00
"CATCH_BUILD_BENCHMARKS": "ON"
}
},
{
"name": "all-tests",
"inherits": "most-tests",
"displayName": "Full development build",
"description": "Enables development build with examples and ALL tests",
"cacheVariables": {
"CATCH_ENABLE_CONFIGURE_TESTS": "ON",
"CATCH_ENABLE_CMAKE_HELPER_TESTS": "ON"
2022-02-22 15:47:11 +01:00
}
}
]
}