-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
98 additions
and
8 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 |
---|---|---|
|
@@ -13,3 +13,4 @@ cmake-build-* | |
Testing/ | ||
.DS_Store | ||
Makefile.local | ||
CmakeUserPresets.json |
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,81 @@ | ||
{ | ||
"version": 2, | ||
"cmakeMinimumRequired": { | ||
"major": 3, | ||
"minor": 20, | ||
"patch": 0 | ||
}, | ||
"configurePresets": [ | ||
{ | ||
"name": "debug", | ||
"displayName": "Debug", | ||
"description": "Fully featured Debug build, some platforms miss the required dependencies", | ||
"inherits": [ | ||
"common-flags" | ||
], | ||
"binaryDir": "${sourceDir}/build_debug", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Debug", | ||
"USERVER_SANITIZE": "addr;ub" | ||
} | ||
}, | ||
{ | ||
"name": "release", | ||
"displayName": "Release", | ||
"description": "Fully featured Release build, some platforms miss the required dependencies", | ||
"inherits": [ | ||
"common-flags" | ||
], | ||
"binaryDir": "${sourceDir}/build_release", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Release" | ||
} | ||
}, | ||
{ | ||
"name": "compat-debug", | ||
"displayName": "Compatibility-mode Debug", | ||
"description": "Debug build with some features (e.g. sanitizers) disabled for compatibility", | ||
"inherits": [ | ||
"compat-flags", | ||
"common-flags" | ||
], | ||
"binaryDir": "${sourceDir}/build_debug", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Debug" | ||
} | ||
}, | ||
{ | ||
"name": "compat-release", | ||
"displayName": "Compatibility-mode Release", | ||
"description": "Release build with some features disabled for compatibility", | ||
"inherits": [ | ||
"common-flags", | ||
"compat-flags" | ||
], | ||
"binaryDir": "${sourceDir}/build_release", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Release" | ||
} | ||
}, | ||
{ | ||
"name": "common-flags", | ||
"hidden": true, | ||
"generator": "Ninja", | ||
"cacheVariables": { | ||
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON", | ||
"CMAKE_C_COMPILER": "cc", | ||
"CMAKE_CXX_COMPILER": "c++" | ||
} | ||
}, | ||
{ | ||
"name": "compat-flags", | ||
"hidden": true, | ||
"generator": "Unix Makefiles", | ||
"cacheVariables": { | ||
"USERVER_FEATURE_CRYPTOPP_BLAKE2": "OFF", | ||
"USERVER_FEATURE_GRPC_CHANNELZ": "OFF", | ||
"USERVER_FEATURE_REDIS_HI_MALLOC": "ON" | ||
} | ||
} | ||
] | ||
} |
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
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