diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-10-21 19:16:01 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-10-21 19:38:37 +0200 |
commit | 8ac267c8db771bf87111e29f0511b26e145819fa (patch) | |
tree | b57cc0f71df377c8b94bf300f9829f645906e8d5 /README.adoc | |
parent | 45dd1a4a8677b885424d1f1b7498d1c9d9517d04 (diff) | |
download | logdiag-8ac267c8db771bf87111e29f0511b26e145819fa.tar.gz logdiag-8ac267c8db771bf87111e29f0511b26e145819fa.tar.xz logdiag-8ac267c8db771bf87111e29f0511b26e145819fa.zip |
Figure out how to abuse MSYS2 repositories
In the end, all seems to work fairly well on Windows 10.
Diffstat (limited to 'README.adoc')
-rw-r--r-- | README.adoc | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/README.adoc b/README.adoc index b1d65c7..ebfd0b6 100644 --- a/README.adoc +++ b/README.adoc @@ -51,7 +51,7 @@ 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.10.4 at best._ +_Note that with the current method we're stuck with GTK+ 3.8.2._ First install CMake >= 3.1 and MinGW. Add both to your system path. If you want to build an installation package, also install NSIS. @@ -86,7 +86,6 @@ By default, that is if you specify no generator, both packages are built. Cross-compilation for Windows ----------------------------- - The procedure is almost exactly the same as before, including the requirements. Just install MinGW-w64 and let automation take care of the rest. @@ -94,7 +93,17 @@ Just install MinGW-w64 and let automation take care of the rest. $ mkdir build $ cd build $ cmake .. \ - -DCMAKE_TOOLCHAIN_FILE=../ToolchainDebianMinGWW64.cmake \ + -DCMAKE_TOOLCHAIN_FILE=../ToolchainCrossMinGWW64.cmake \ + -DCMAKE_BUILD_TYPE=Release + $ cpack + +Alternatively, for an unnecessarily bloated MSYS2-based 64-bit build: + + $ sh Win64Depends.cmake + $ mkdir build + $ cd build + $ cmake .. \ + -DCMAKE_TOOLCHAIN_FILE=../ToolchainCrossWin64.cmake \ -DCMAKE_BUILD_TYPE=Release $ cpack |