Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/CMakePresets.json
blob: 312b7a5f67e2eb9ca568ab197fddf38dfeaab6ac (plain)
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
{
    "version": 3,
    "configurePresets": [
        {
            "name": "basic-tests",
            "binaryDir": "build",
            "installDir": "build/install",
            "displayName": "Basic development build",
            "description": "Enables development build with basic tests that are cheap to build and run",
            "cacheVariables": {
                "CMAKE_CXX_EXTENSIONS": "OFF",
                "CMAKE_CXX_STANDARD_REQUIRED": "ON",
                "CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
                "CATCH3_DEVELOPMENT_BUILD": "ON"
            }
        },
        {
            "name": "most-tests",
            "inherits": "basic-tests",
            "displayName": "Full development build",
            "description": "Enables development build with extended set of tests (still relatively cheap to build)",
            "cacheVariables": {
                "CATCH3_BUILD_EXAMPLES": "ON",
                "CATCH3_BUILD_EXTRA_TESTS": "ON",
                "CATCH3_BUILD_SURROGATES": "ON",
                "CATCH3_BUILD_BENCHMARKS": "ON"
            }
        },
        {
            "name": "all-tests",
            "inherits": "most-tests",
            "displayName": "Full development build",
            "description": "Enables development build with examples and ALL tests",
            "cacheVariables": {
                "CATCH3_ENABLE_CONFIGURE_TESTS": "ON",
                "CATCH3_ENABLE_CMAKE_HELPER_TESTS": "ON"
            }
        }
    ]   
}