From: Thomas Debesse Date: Tue, 31 Mar 2020 00:44:09 +0000 (+0200) Subject: readme: use cmake -S instead of undocumented -H X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=350fed8a5805529996a6bb2a6e22dd8f779b11cb;p=xonotic%2Fnetradiant.git readme: use cmake -S instead of undocumented -H undocumented -H for source directory was replaced by documented -S and -H is now an alias to --help --- diff --git a/README.md b/README.md index 7a0b539a..9592b437 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ This project uses the usual CMake workflow: #### Debug build ```sh -cmake -G "Unix Makefiles" -H. -Bbuild -DCMAKE_BUILD_TYPE=Debug +cmake -G "Unix Makefiles" -S. -Bbuild -DCMAKE_BUILD_TYPE=Debug cmake --build build -- -j$(nproc) ``` @@ -135,7 +135,7 @@ cmake --build build -- -j$(nproc) #### Release build ```sh -cmake -G "Unix Makefiles" -H. -Bbuild -DCMAKE_BUILD_TYPE=Release +cmake -G "Unix Makefiles" -S. -Bbuild -DCMAKE_BUILD_TYPE=Release cmake --build build -- -j$(nproc) ```