File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "version" : 2 ,
3+ "cmakeMinimumRequired" : {
4+ "major" : 3 ,
5+ "minor" : 20 ,
6+ "patch" : 0
7+ },
8+ "configurePresets" : [
9+ {
10+ "name" : " debug" ,
11+ "displayName" : " Debug" ,
12+ "description" : " Fully featured Debug build" ,
13+ "inherits" : [
14+ " common-flags"
15+ ],
16+ "binaryDir" : " ${sourceDir}/build-debug" ,
17+ "cacheVariables" : {
18+ "CMAKE_BUILD_TYPE" : " Debug" ,
19+ "USERVER_SANITIZE" : " addr;ub"
20+ }
21+ },
22+ {
23+ "name" : " release" ,
24+ "displayName" : " Release" ,
25+ "description" : " Fully featured Release build" ,
26+ "inherits" : [
27+ " common-flags"
28+ ],
29+ "binaryDir" : " ${sourceDir}/build-release" ,
30+ "cacheVariables" : {
31+ "CMAKE_BUILD_TYPE" : " Release"
32+ }
33+ },
34+ {
35+ "name" : " common-flags" ,
36+ "hidden" : true ,
37+ "generator" : " Ninja" ,
38+ "cacheVariables" : {
39+ "USERVER_FEATURE_GRPC" : " ON" , // grpc template current
40+ "USERVER_FEATURE_POSTGRESQL" : " ON" , // postgresql template current
41+ "USERVER_FEATURE_MONGODB" : " ON" , // mongo template current
42+ "CMAKE_EXPORT_COMPILE_COMMANDS" : " ON"
43+ }
44+ }
45+ ]
46+ }
You can’t perform that action at this time.
0 commit comments