From 8c290df7b54999f72377376831414b8fa81071fa Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Sat, 23 Oct 2021 20:27:51 +0200 Subject: Update README --- README.adoc | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/README.adoc b/README.adoc index 735311b..e1c7b15 100644 --- a/README.adoc +++ b/README.adoc @@ -52,17 +52,20 @@ After _cpack_ finishes making the package, install this file. Build from source on Windows ---------------------------- -_Note that with the current method we're stuck with GTK+ 3.8.2._ +_Note that using the current method we're stuck with GTK+ 3.8.2, which works +worse on Windows 10, but better on XP and under WINE._ -First install CMake and MinGW. Add both to your system path. If you want +First, install CMake and MinGW. Add both to your system path. If you want to build an installation package, also install NSIS. If you want to build -within a path containing spaces, fix your FindPkgConfig.cmake to say (#22396): +within a path containing spaces, +https://gitlab.kitware.com/cmake/cmake/-/issues/22396[fix] your CMake's +FindPkgConfig.cmake module to say: separate_arguments(_pkgconfig_invoke_result UNIX_COMMAND "${_pkgconfig_invoke_result}") Run the following command in the directory with source files to automatically fetch and set up all dependencies (note that Windows XP is no longer able to -download from HTTPS sources): +download from HTTPS sources, you'll have to run this externally): > cmake -P Win32Depends.cmake @@ -92,9 +95,8 @@ Just install MinGW-w64 and let automation take care of the rest. $ cmake -P Win32Depends.cmake $ mkdir build $ cd build - $ cmake .. \ - -DCMAKE_TOOLCHAIN_FILE=../ToolchainCrossMinGWW64.cmake \ - -DCMAKE_BUILD_TYPE=Release + $ cmake -DCMAKE_TOOLCHAIN_FILE=../ToolchainCrossMinGWW64.cmake \ + -DCMAKE_BUILD_TYPE=Release .. $ cpack Alternatively, for an unnecessarily bloated MSYS2-based 64-bit build: -- cgit v1.2.3-70-g09d2