]> git.xonotic.org Git - xonotic/netradiant.git/commitdiff
Update windows build instructions
authorTimePath <andrew.hardaker1995@gmail.com>
Sun, 6 Aug 2017 11:18:42 +0000 (21:18 +1000)
committerTimePath <andrew.hardaker1995@gmail.com>
Sun, 6 Aug 2017 11:18:42 +0000 (21:18 +1000)
README.md

index 35a3194633262125fbac09d1589c3440725fb625..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:
 
 ```
@@ -58,21 +60,14 @@ This project uses the usual CMake workflow:
 
 ## Debug
 
-`cmake -G "Unix Makefiles" -H. -Bbuild && cmake --build build -- -j$(nproc)`
+```
+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)`
-
-## MSYS2
-
-Under MSYS2, the mingw shell must be used with the following additional flags:
-
 ```
-cmake -G "MSYS Makefiles" \
-    -DGTK2_GLIBCONFIG_INCLUDE_DIR=/mingw64/lib/glib-2.0/include \
-    -DGTK2_GDKCONFIG_INCLUDE_DIR=/mingw64/lib/gtk-2.0/include \
-    -H. -Bbuild
+cmake -G "Unix Makefiles" -H. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build -- -j$(nproc)
 ```
 
 ## More Compilation Details