You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Single-config generators (e.g. default = `Unix Makefiles`; note that they just ignore the `--config` flag):
28
28
29
-
```bash
30
-
cmake -B build -DCMAKE_BUILD_TYPE=Debug
31
-
cmake --build build
32
-
```
29
+
```bash
30
+
cmake -B build -DCMAKE_BUILD_TYPE=Debug
31
+
cmake --build build
32
+
```
33
33
34
34
2. Multi-config generators (`-G` param set to Visual Studio, XCode...):
35
35
36
-
```bash
37
-
cmake -B build -G "Xcode"
38
-
cmake --build build --config Debug
39
-
```
36
+
```bash
37
+
cmake -B build -G "Xcode"
38
+
cmake --build build --config Debug
39
+
```
40
40
41
41
For more details and a list of supported generators, see the [CMake documentation](https://cmake.org/cmake/help/latest/manual/cmake-generators.7.html).
0 commit comments