From 61f7536e2259dc496211dfca21b2a0e4eef3d9f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Wed, 28 Jan 2015 00:16:41 +0100 Subject: Fix to work on Windows XP --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 054e0d8..d7bf789 100644 --- a/README.md +++ b/README.md @@ -52,8 +52,8 @@ Leave out the fakeroot for CMake >= 2.8.9, it's been fixed since. ## Building from sources on Windows -First install CMake 2.8 and MinGW. Add both to your system path. If you want to -build an installation package, also install NSIS. +First install CMake >= 3.1 and MinGW. Add both to your system path. If you want +to build an installation package, also install NSIS. Run the following command in the directory with source files to automatically fetch and setup all dependencies (contact me if the script becomes obsolete, @@ -85,6 +85,7 @@ By default, that is if you specify no generator, both packages are built. ## Cross-compiling 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. $ cmake -P Win32Depends.cmake @@ -93,5 +94,5 @@ Just install MinGW-w64 and let automation take care of the rest. $ cmake .. \ -DCMAKE_TOOLCHAIN_FILE=../ToolchainDebianMinGWW64.cmake \ -DCMAKE_BUILD_TYPE=Release - $ cpack -G ZIP + $ cpack -- cgit v1.2.3