Skip to content

Commit 924d4d7

Browse files
authored
Change CMake build preset from debug to release
Updated CMake instructions to reflect changes in build presets.
1 parent e376494 commit 924d4d7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/building.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ After installing the tools, either launch CMake from the "Developer Command Prom
3333
Even if you are going to have your IDE manage CMake, it's a good idea to try running it from the terminal first.
3434
> On Windows, Microsoft's build system will not be set as the CMake compiler by default. Either add MSBuild to your system variables, or use the "Developer Command Prompt for VS ..." application (which already has the variable set up) instead of your regular terminal.
3535
36-
1. Configure - `cmake --preset debug`
37-
2. Then Build - `cmake --build --preset debug`
36+
1. Configure - `cmake --preset release`
37+
2. Then Build - `cmake --build --preset release`
3838
3. Run the executable that was generated somewhere in the `build` directory. On Windows this is probably in the `Debug` subdirectory.
3939

40-
You can also build for release with `release` preset
40+
You can also build for debug with `debug` preset
4141
> Works for MacOS, Windows (MSVC), and Linux
4242
4343
## Notes

0 commit comments

Comments
 (0)