summaryrefslogtreecommitdiffstats
path: root/INSTALL-MXE.md
diff options
context:
space:
mode:
authorDidier 'OdyX' Raboud <didier@raboud.com>2013-11-12 11:32:41 +0100
committerDidier Raboud <odyx@debian.org>2013-11-13 16:53:49 +0100
commit642034eda9cd0071a32974ce8cd9b333a95a8d74 (patch)
treebaf1e79cd7dcfdd52f2c271dbdbac0eddbdd63e8 /INSTALL-MXE.md
parentfda831d991708af79a8719d404662f97e497e095 (diff)
downloadcolobot-642034eda9cd0071a32974ce8cd9b333a95a8d74.tar.gz
colobot-642034eda9cd0071a32974ce8cd9b333a95a8d74.tar.bz2
colobot-642034eda9cd0071a32974ce8cd9b333a95a8d74.zip
Update the MXE install README to document the creation of the installer
Diffstat (limited to 'INSTALL-MXE.md')
-rw-r--r--INSTALL-MXE.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/INSTALL-MXE.md b/INSTALL-MXE.md
index f12ed88..47b6bcc 100644
--- a/INSTALL-MXE.md
+++ b/INSTALL-MXE.md
@@ -58,12 +58,18 @@ To cross-compile Colobot using MXE:
4. Now `cd` to directory with colobot sources. To cross-compile a CMake project,
you have to specify a CMake toolchain file. MXE has such file in MXE's directory:
`usr/i686-pc-mingw32/share/cmake/mxe-conf.cmake`
- Toolchain file is specified thus:`cmake -DCMAKE_TOOLCHAIN_FILE=/path/to/mxe-conf.cmake .`
+ Toolchain file is specified that way: `cmake -DCMAKE_TOOLCHAIN_FILE=/path/to/mxe-conf.cmake .`
CMake files in Colobot should detect that MXE is being used and they will
modify flags, paths, etc. as required. You should not run into any problems.
*Note:* you may also want to use a separate out-of-source build directory for MXE.
-5. `make` should now compile the game with the resulting exe in `bin/colobot.exe`.
+5. `make` should now compile the game with the resulting executable as `colobot.exe`.
The exe is linked against all libraries *statically*, so there are no dependencies
on external DLLs. However, the resulting binary will be huge with all these libraries,
so you might want to do: `strip bin/colobot.exe`.
+
+6. If you want to create a Colobot installer, you need to additionally build 'nsis'
+ in MXE. Then you can create the NSIS installer that way:
+ `PATH=/path/to/mxe/binaries/:$PATH make package` This will create a versionned
+ colobot-$version.exe installer that will install Colobot in system directories,
+ add a shortcut in the start menu and setup an uninstaller.