Skip to content

Commit

Permalink
build: add CMakePresets.json file
Browse files Browse the repository at this point in the history
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
  • Loading branch information
threeal committed Oct 15, 2024
1 parent 2a27fdc commit 2e23b4a
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21
},
"configurePresets": [
{
"name": "default",
"binaryDir": "${sourceDir}/build"
},
{
"name": "development",
"inherits": ["default"],
"cacheVariables": {
"ASSERTION_ENABLE_TESTS": "ON"
}
}
],
"testPresets": [
{
"name": "development",
"configurePreset": "development",
"output": {
"verbosity": "verbose"
},
"execution": {
"noTestsAction": "error"
}
}
]
}

0 comments on commit 2e23b4a

Please sign in to comment.