Skip to content

Commit

Permalink
Recommend the simplest possible configuration and build commands
Browse files Browse the repository at this point in the history
Once users wish to start customizing their build by potentially
enabling optimizations, then they can learn about such differences.
For now it's not useful to add this extra branch in the instructions.
Let's keep it simple.
  • Loading branch information
ChrisThrasher committed Jul 13, 2024
1 parent 4af7a18 commit 1880956
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,12 @@ The template starts out very basic, but might receive additional features over t
- [Qt Creator](https://doc.qt.io/qtcreator/creator-project-cmake.html)

Using CMake from the command line is straightforward as well.
Be sure to run these commands in the root repo of the project you just made.

For a single-configuration generator (typically the case on Linux and macOS):
```
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake -B build
cmake --build build
```

For a multi-configuration generator (typically the case on Windows):
```
cmake -S . -B build
cmake --build build --config Release
```
1. Enjoy!

## Upgrading SFML
Expand Down

0 comments on commit 1880956

Please sign in to comment.