]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - README.md
Merge branch 'master' into Mario/winfix
[xonotic/netradiant.git] / README.md
index 9a5bcfeda37d75190906d51d5537e482630f7a50..59e356fa8f13a94bc1f435ed2353e2b76376a3fe 100644 (file)
--- a/README.md
+++ b/README.md
@@ -32,6 +32,8 @@ See also https://gitlab.com/xonotic/netradiant/ for a source browser, issues and
 
 ## msys2
 
+Under MSYS2, the mingw shell must be used
+
 ### 32 bit:
 
 ```
@@ -56,7 +58,17 @@ brew link --force gettext
 
 This project uses the usual CMake workflow:
 
-`cmake -G "Unix Makefiles" -H . -B build && cmake --build build -- -j$(nproc)`
+## Debug
+
+```
+cmake -G "Unix Makefiles" -H. -Bbuild && cmake --build build -- -j$(nproc)
+```
+
+## Release
+
+```
+cmake -G "Unix Makefiles" -H. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build -- -j$(nproc)
+```
 
 ## More Compilation Details