]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - README.md
CMake: Make dll bundling optional
[xonotic/netradiant.git] / README.md
index 44436fd6ae95f694940e761222c6366b31188a9e..35a3194633262125fbac09d1589c3440725fb625 100644 (file)
--- a/README.md
+++ b/README.md
@@ -58,11 +58,22 @@ This project uses the usual CMake workflow:
 
 ## Debug
 
-`cmake -G "Unix Makefiles" -H . -B build && cmake --build build -- -j$(nproc)`
+`cmake -G "Unix Makefiles" -H. -Bbuild && cmake --build build -- -j$(nproc)`
 
 ## Release
 
-`cmake -G "Unix Makefiles" -H . -B build -DCMAKE_BUILD_TYPE=Release && cmake --build build -- -j$(nproc)`
+`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
+```
 
 ## More Compilation Details