|
16 | 16 | "binaryDir": "${sourceDir}/../../out/${presetName}/" |
17 | 17 | }, |
18 | 18 | { |
19 | | - "name": "native", |
| 19 | + "name": "rel", |
20 | 20 | "inherits": "base", |
21 | | - "description": "host platform native config, not cross-building" |
| 21 | + "description": "host platform native config, not cross-building, release build", |
| 22 | + "cacheVariables": { |
| 23 | + "CMAKE_BUILD_TYPE": "Release" |
| 24 | + } |
22 | 25 | }, |
23 | 26 | { |
24 | | - "name": "ios", |
| 27 | + "name": "dbg", |
| 28 | + "inherits": "base", |
| 29 | + "description": "host platform native config, not cross-building, debug build", |
| 30 | + "cacheVariables": { |
| 31 | + "CMAKE_BUILD_TYPE": "Debug" |
| 32 | + } |
| 33 | + }, |
| 34 | + { |
| 35 | + "name": "ios-dbg", |
25 | 36 | "inherits": "base", |
26 | | - "description": "cross-building on macos for ios", |
| 37 | + "description": "cross-building on macos for ios, debug build", |
27 | 38 | "generator": "Xcode", |
28 | 39 | "cacheVariables": { |
29 | | - "CMAKE_SYSTEM_NAME": "iOS" |
| 40 | + "CMAKE_SYSTEM_NAME": "iOS", |
| 41 | + "CMAKE_BUILD_TYPE": "Debug" |
| 42 | + } |
| 43 | + }, |
| 44 | + { |
| 45 | + "name": "ios-rel", |
| 46 | + "inherits": "base", |
| 47 | + "description": "cross-building on macos for ios, release build", |
| 48 | + "generator": "Xcode", |
| 49 | + "cacheVariables": { |
| 50 | + "CMAKE_SYSTEM_NAME": "iOS", |
| 51 | + "CMAKE_BUILD_TYPE": "Release" |
30 | 52 | } |
31 | 53 | } |
32 | 54 | ], |
|
41 | 63 | }, |
42 | 64 | { |
43 | 65 | "$comment": [ |
44 | | - "native-base preset" |
| 66 | + "native debug preset" |
45 | 67 | ], |
46 | | - "hidden": true, |
47 | | - "name": "native", |
| 68 | + "hidden": false, |
| 69 | + "name": "dbg", |
| 70 | + "inherits": "base", |
| 71 | + "configurePreset": "dbg", |
| 72 | + "configuration": "Debug" |
| 73 | + }, |
| 74 | + { |
| 75 | + "$comment": [ |
| 76 | + "native release preset" |
| 77 | + ], |
| 78 | + "hidden": false, |
| 79 | + "name": "rel", |
48 | 80 | "inherits": "base", |
49 | | - "configurePreset": "native" |
| 81 | + "configurePreset": "rel", |
| 82 | + "configuration": "Release" |
50 | 83 | }, |
51 | 84 | { |
52 | 85 | "$comment": [ |
|
62 | 95 | ] |
63 | 96 | }, |
64 | 97 | { |
65 | | - "name": "rel", |
66 | | - "description": "native release build", |
67 | | - "inherits": "native", |
68 | | - "configuration": "Release" |
69 | | - }, |
70 | | - { |
71 | | - "name": "dbg", |
72 | | - "description": "native debug build", |
73 | | - "inherits": "native", |
| 98 | + "$comment": [ |
| 99 | + "ios debug preset" |
| 100 | + ], |
| 101 | + "hidden": false, |
| 102 | + "name": "ios-dbg", |
| 103 | + "inherits": "base", |
| 104 | + "configurePreset": "ios-dbg", |
74 | 105 | "configuration": "Debug" |
75 | 106 | }, |
76 | 107 | { |
| 108 | + "$comment": [ |
| 109 | + "ios release preset" |
| 110 | + ], |
| 111 | + "hidden": false, |
77 | 112 | "name": "ios-rel", |
78 | | - "description": "ios release build", |
79 | | - "inherits": "ios", |
| 113 | + "inherits": "base", |
| 114 | + "configurePreset": "ios-rel", |
80 | 115 | "configuration": "Release" |
81 | | - }, |
82 | | - { |
83 | | - "name": "ios-dbg", |
84 | | - "description": "ios debug build", |
85 | | - "inherits": "ios", |
86 | | - "configuration": "Debug" |
87 | 116 | } |
88 | 117 | ] |
89 | 118 | } |
0 commit comments