]> git.xonotic.org Git - xonotic/netradiant.git/commitdiff
readme: use cmake -S instead of undocumented -H
authorThomas Debesse <dev@illwieckz.net>
Tue, 31 Mar 2020 00:44:09 +0000 (02:44 +0200)
committerThomas Debesse <dev@illwieckz.net>
Tue, 31 Mar 2020 00:44:12 +0000 (02:44 +0200)
undocumented -H for source directory was replaced
by documented -S and -H is now an alias to --help

README.md

index 7a0b539aaf91bfc9bcd9d52ae997cf1989f1a2c3..9592b437acecbafc6bd4a7dec3cc918fd5aa806f 100644 (file)
--- 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)
 ```