forked from bitdefender/bddisasm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It defines only configure presets to be used mostly by our CI.
- Loading branch information
1 parent
4b98f1b
commit ea78026
Showing
1 changed file
with
82 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
{ | ||
"version": 3, | ||
"cmakeMinimumRequired": { | ||
"major": 3, | ||
"minor": 20, | ||
"patch": 0 | ||
}, | ||
"configurePresets": [ | ||
{ | ||
"name": "common-options", | ||
"hidden": true, | ||
"description": "Common options shared by all configurations", | ||
"binaryDir": "${sourceDir}/build/${presetName}" | ||
}, | ||
{ | ||
"name": "asan", | ||
"inherits": "common-options", | ||
"description": "Enables ASAN", | ||
"cacheVariables": { | ||
"BDD_ASAN": { | ||
"type": "BOOL", | ||
"value": "ON" | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "ubsan", | ||
"inherits": "common-options", | ||
"description": "Enables UBSAN", | ||
"cacheVariables": { | ||
"BDD_UBSAN": { | ||
"type": "BOOL", | ||
"value": "ON" | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "debug-sanitizers", | ||
"inherits": ["asan", "ubsan"], | ||
"description": "Debug build with ASAN and UBSAN", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Debug" | ||
} | ||
}, | ||
{ | ||
"name": "no-mnemonic", | ||
"inherits": "common-options", | ||
"description": "Excludes mnemonics", | ||
"cacheVariables": { | ||
"BDD_NO_MNEMONIC": { | ||
"type": "BOOL", | ||
"value": "ON" | ||
} | ||
} | ||
}, | ||
|
||
{ | ||
"name": "debug", | ||
"inherits": "common-options", | ||
"description": "Debug build", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Debug" | ||
} | ||
}, | ||
{ | ||
"name": "release", | ||
"inherits": "common-options", | ||
"description": "Release build with LTO", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Release", | ||
"BDD_LTO": { | ||
"type": "BOOL", | ||
"value": "ON" | ||
} | ||
} | ||
} | ||
], | ||
"buildPresets": [ | ||
], | ||
"testPresets": [ | ||
] | ||
} |