Nexuiz svn build script

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Nexuiz svn build script

Postby uluyol901 » Sun Jan 25, 2009 7:52 pm

Here's yet another build script

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
Last edited by uluyol901 on Mon Jan 26, 2009 10:00 pm, edited 1 time in total.
uluyol901
Member
 
Posts: 16
Joined: Sun Jan 25, 2009 7:39 pm

Postby esteel » Mon Jan 26, 2009 11:37 am

Ignoring the fact that by now there are enough build scripts to use a different one each day :P

Didn't you forget about fteqcc? Or did you just not mention it? (I have not tried the build script, as i'm happy with what i use currently). Nexuiz from svn needs a really uptodate fteqcc to be able to compile right.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby uluyol901 » Mon Jan 26, 2009 9:59 pm

A 32bit binary of a snapshot is included in the tarball, and ppc isn't supported
uluyol901
Member
 
Posts: 16
Joined: Sun Jan 25, 2009 7:39 pm

Postby esteel » Wed Jan 28, 2009 10:04 am

Well it should not be hard to add fteqcc checkout/update/compile to your script and thats more save then just using a snapshot which could become outdated.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am


Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron