From 77c80c7378e97bc70be38283b438e3ec460a0429 Mon Sep 17 00:00:00 2001 From: TimePath Date: Sun, 6 Aug 2017 21:18:42 +1000 Subject: [PATCH] Update windows build instructions --- README.md | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) 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 -- 2.39.2