I made this because others seemed too complex, and didn't cross-compile for windows(except the one in nexuiz svn)
How to use:
Download here
Unpack
Run
- Code: Select all
chmod +x build_nex
./build_nex --update-svn (requires plenty of hd space)
./build_nex --build
That will build darkplaces and nexuiz svn, and put them into a folder called Nexuiz-buildYYYYMMDD
It also has a config file, look in it for more options
How to cross-compile for windows:
This is a bit more tricky, install your distribution's cross-compiling tools, then find the corresponding binaries and replace the ones in the config file
NOTE: For opensuse, this is already configured, just install the packages from the CrossToolchain:mingw repository
After that, just run './build_nex --ccwin32' to build for linux and windows
NOTE: This doesn't support ppc