From e198a47ae3522153384f3bbe692229a81c727f2d Mon Sep 17 00:00:00 2001 From: Peinthor Rene Date: Sun, 15 Sep 2013 10:11:29 +0200 Subject: [PATCH] building: missed path export --- BUILDING | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/BUILDING b/BUILDING index d61b3ad6..9ff53909 100644 --- a/BUILDING +++ b/BUILDING @@ -49,7 +49,14 @@ the windows binary and create the correct makefiles: mkdir build-win cd build-win - cmake /path to mxe/usr/i686-pc-mingw32/share/cmake/mxe-conf.cmake .. + cmake -DCMAKE_TOOLCHAIN_FILE=/path to mxe/usr/i686-pc-mingw32/share/cmake/mxe-conf.cmake .. + +Before compiling we have to add the mxe/usr/bin directory to the PATH (so windres and makensis can be found): + + export PATH=/path to mxe/usr/bin:$PATH + +Now compile: + make If additionaly want an NSIS install: