X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=README.md;h=59e356fa8f13a94bc1f435ed2353e2b76376a3fe;hp=35a3194633262125fbac09d1589c3440725fb625;hb=42856811f2b174e37a761bfcb9fbeb8c6af2f558;hpb=73e3cc2bedc68cd6bd6479ca25e34b1c5d423bc9 diff --git a/README.md b/README.md index 35a31946..59e356fa 100644 --- 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