aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-10-23 20:27:51 +0200
committerPřemysl Eric Janouch <p@janouch.name>2021-10-23 20:27:51 +0200
commit8c290df7b54999f72377376831414b8fa81071fa (patch)
tree680f100d8b83d049a59df9870a9a2a520f1c9409
parent5fc35517cb180940c026cf91aedd52d6c4ca0677 (diff)
downloadlogdiag-8c290df7b54999f72377376831414b8fa81071fa.tar.gz
logdiag-8c290df7b54999f72377376831414b8fa81071fa.tar.xz
logdiag-8c290df7b54999f72377376831414b8fa81071fa.zip
Update README
-rw-r--r--README.adoc16
1 files 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: