From a8638c1cc37cd4dd0df661035e83c1d57c429242 Mon Sep 17 00:00:00 2001 From: Chris Thrasher <chrisjthrasher@gmail.com> Date: Sat, 13 Jul 2024 15:25:17 -0600 Subject: [PATCH] Recommend the simplest possible configuration and build commands 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. --- README.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 53be2fef..8219fc13 100644 --- a/README.md +++ b/README.md @@ -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 directory of the project you just created. - 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