1- {
2- "version" : 3 ,
3- "configurePresets" : [
4- {
5- "name" : " default" ,
6- "hidden" : true ,
7- "generator" : " Ninja" ,
8- "binaryDir" : " ${sourceDir}/build/${presetName}" ,
9- "toolchainFile" : " ${sourceDir}/cmake/gcc-arm-none-eabi.cmake" ,
10- "cacheVariables" : {
11- }
12- },
13- {
14- "name" : " Debug" ,
15- "inherits" : " default" ,
16- "cacheVariables" : {
17- "CMAKE_BUILD_TYPE" : " Debug"
18- }
19- },
20- {
21- "name" : " RelWithDebInfo" ,
22- "inherits" : " default" ,
23- "cacheVariables" : {
24- "CMAKE_BUILD_TYPE" : " RelWithDebInfo"
25- }
26- },
27- {
28- "name" : " Release" ,
29- "inherits" : " default" ,
30- "cacheVariables" : {
31- "CMAKE_BUILD_TYPE" : " Release"
32- }
33- },
34- {
35- "name" : " MinSizeRel" ,
36- "inherits" : " default" ,
37- "cacheVariables" : {
38- "CMAKE_BUILD_TYPE" : " MinSizeRel"
39- }
40- }
41- ],
42- "buildPresets" : [
43- {
44- "name" : " Debug" ,
45- "configurePreset" : " Debug"
46- },
47- {
48- "name" : " RelWithDebInfo" ,
49- "configurePreset" : " RelWithDebInfo"
50- },
51- {
52- "name" : " Release" ,
53- "configurePreset" : " Release"
54- },
55- {
56- "name" : " MinSizeRel" ,
57- "configurePreset" : " MinSizeRel"
58- }
59- ]
1+ {
2+ "version" : 3 ,
3+ "configurePresets" : [
4+ {
5+ "name" : " default" ,
6+ "hidden" : true ,
7+ "generator" : " Ninja" ,
8+ "binaryDir" : " ${sourceDir}/build/${presetName}" ,
9+ "toolchainFile" : " ${sourceDir}/cmake/gcc-arm-none-eabi.cmake" ,
10+ "cacheVariables" : {
11+ "CMAKE_EXPORT_COMPILE_COMMANDS" : " ON"
12+ }
13+ },
14+ {
15+ "name" : " debug" ,
16+ "inherits" : " default" ,
17+ "cacheVariables" : {
18+ "CMAKE_BUILD_TYPE" : " Debug"
19+ }
20+ },
21+ {
22+ "name" : " relWithDebInfo" ,
23+ "inherits" : " default" ,
24+ "cacheVariables" : {
25+ "CMAKE_BUILD_TYPE" : " RelWithDebInfo"
26+ }
27+ },
28+ {
29+ "name" : " release" ,
30+ "inherits" : " default" ,
31+ "cacheVariables" : {
32+ "CMAKE_BUILD_TYPE" : " Release"
33+ }
34+ },
35+ {
36+ "name" : " minSizeRel" ,
37+ "inherits" : " default" ,
38+ "cacheVariables" : {
39+ "CMAKE_BUILD_TYPE" : " MinSizeRel"
40+ }
41+ }
42+ ],
43+ "buildPresets" : [
44+ {
45+ "name" : " debug" ,
46+ "configurePreset" : " debug"
47+ },
48+ {
49+ "name" : " relWithDebInfo" ,
50+ "configurePreset" : " relWithDebInfo"
51+ },
52+ {
53+ "name" : " release" ,
54+ "configurePreset" : " release"
55+ },
56+ {
57+ "name" : " minSizeRel" ,
58+ "configurePreset" : " minSizeRel"
59+ }
60+ ]
6061}
0 commit comments