1
0
forked from 0ad/0ad
Commit Graph

57 Commits

Author SHA1 Message Date
10fd5e57db Fix #916 (complain about spaces in build paths), based on patch from philip_flohr
This was SVN commit r11380.
2012-03-20 22:29:56 +00:00
41e3bad341 More build fixes for FreeBSD.
Adds BSD sysdep.
Adds support for MAKE variable, overriding make command in our build
scripts.
Fixes more files not ending with newline.

This was SVN commit r10994.
2012-01-31 00:06:56 +00:00
ed5a64aae4 Add --with-system-mozjs185 build flag. Fixes #990, based on patch by infyquest.
This was SVN commit r10534.
2011-11-14 16:10:41 +00:00
fc9e89647b Adds basic support for Code::Blocks on the Mac and Linux.
The Project structure is still a bit strange, but it builds successfully
now.

This was SVN commit r10521.
2011-11-12 23:58:35 +00:00
b0ad0d97be Remove Premake3 files. Closes #934.
This was SVN commit r10362.
2011-10-03 19:09:03 +00:00
6ff59cbeeb Enables Atlas build on OS X.
This was SVN commit r10300.
2011-09-20 22:52:21 +00:00
1389f11b6e Applies Yves' latest patch for premake4.
Fixes test generation path in XCode and MSVC.
Fixes PCH dependency tracking in GCC. Fixes #903.
Fixes PCH being included in its own input (caused GCC bus error).
Ensures premake4 gets rebuilt on *nix after running clean-workspaces.sh.
Updates Windows premake4 binary.

This was SVN commit r10154.
2011-09-01 01:58:04 +00:00
9edfe0fbcd Fix clean-workspaces script for new SpiderMonkey
This was SVN commit r9876.
2011-07-18 17:32:07 +00:00
2f0bd8d8b0 Upgrade to SpiderMonkey 1.8.5 (fixes #734)
This was SVN commit r9852.
2011-07-16 23:24:14 +00:00
c7ba150c40 Fix handling of update-workspaces arguments on Windows
This was SVN commit r9849.
2011-07-16 22:17:47 +00:00
0dc3ae487d Premake4 build scripts for the game, from Yves (plus minor tweaks)
This was SVN commit r9830.
2011-07-15 17:56:57 +00:00
e9b3bcf467 Disable building Atlas by default on OS X
This was SVN commit r9766.
2011-07-06 20:14:25 +00:00
c2677b4bb0 Upgrade game and build system to ENet 1.3
This was SVN commit r9574.
2011-05-29 20:57:28 +00:00
962fb41729 Support parallel build jobs in update-workspaces (via JOBS=-j3 or argument -j3 etc)
This was SVN commit r9418.
2011-05-03 23:54:29 +00:00
b13e6ae293 Fix script to rebuild SpiderMonkey properly
This was SVN commit r8633.
2010-11-17 00:58:10 +00:00
93861485fb Add a script to clean up broken builds of bundled libraries
This was SVN commit r8632.
2010-11-17 00:50:38 +00:00
aadbf53a2a Add nvtt to build system
This was SVN commit r8093.
2010-09-10 20:15:49 +00:00
701fcc18a6 Attempt to make build system's CPU architecture detection slightly less broken
This was SVN commit r7458.
2010-04-15 20:15:16 +00:00
9b6326f124 Always build with Valgrind support. Always use the bundled Valgrind header.
This was SVN commit r7397.
2010-03-26 10:31:47 +00:00
0670638198 Remove obsolete build instructions (see BuildInstructions page instead)
This was SVN commit r7393.
2010-03-24 19:54:01 +00:00
ed69187450 Build with spidermonkey-tip by default. Remove codepaths for old SpiderMonkey.
This was SVN commit r7366.
2010-03-19 20:54:44 +00:00
e8ba28c306 Automatically build bundled external libraries and report errors if premake or an external library fails to build
This was SVN commit r7091.
2009-08-08 11:22:42 +00:00
8da44f1908 Simplify the update-workspaces.sh script, remove some uses of absolute paths and allow the script to be run from anywhere (e.g. as ../update-workspaces.sh from the workspaces/gcc/ directory)
This was SVN commit r7011.
2009-07-17 22:07:09 +00:00
10fb4c12e7 Fix update-workspaces.sh to handle paths with spaces (http://www.wildfiregames.com/forum/index.php?showtopic=12472)
This was SVN commit r7009.
2009-07-17 21:15:01 +00:00
6525cfd39e Patch from #259: [FreeBSD compat] portability fixes
This was SVN commit r7002.
2009-07-16 16:57:59 +00:00
95ca9604f1 Check that premake is up-to-date before updating workspaces
This was SVN commit r6955.
2009-07-13 16:59:10 +00:00
d8722b897f Forward HOSTTYPE variable - this should let premake.lua detect 64-bit properly.
This was SVN commit r6947.
2009-07-12 13:50:04 +00:00
0401cd486b Removed Collada_dbg.dll since it's outdated and not autobuilt. Added --collada option to default update-workspaces, so Collada_dbg.dll will get compiled automatically.
This was SVN commit r6793.
2009-03-27 01:45:22 +00:00
6b51050f96 Updated Premake to generate VS2008 project files.
This was SVN commit r6127.
2008-06-28 00:49:38 +00:00
29e5130153 Updated required libraries to include some AtlasUI libs.
This was SVN commit r5437.
2007-11-10 02:58:23 +00:00
6bbd564910 Updated Ubuntu instructions.
This was SVN commit r5436.
2007-11-09 19:17:42 +00:00
57ac4228d1 Updated build instructions for Linux and commented out visibility options
that make GCC 4.1 fail to link the game.

This was SVN commit r5435.
2007-11-09 18:48:23 +00:00
4b481bdd2c avoid "directory already exists" warning.
allow skipping generating the vc2003 or vc2005 projects by creating a
file SKIP_PREMAKE_HERE in that workspace directory

This was SVN commit r5386.
2007-10-03 09:43:00 +00:00
08d3ff2952 Updates for OS X and gcc 4.0 compatibility.
- Fixed some invalid member function references in wxJS code that gcc
4.0 didn't like.
- Some conversion changes.
- Don't try to construct wxSound from memory in OS X (it's not
available).
- Added dependency on zlib in AtlasUI (something there uses _compress).
- Added Mac code for finding current executable's path.
- Added dummy code for getting display size that does not use X.
- Fixed dir_get_changed_file stub to return ERR::AGAIN (end of files)
instead of INFO::OK.

This was SVN commit r5312.
2007-09-02 16:50:20 +00:00
b65d1f8756 Replaced wxWidgets-devel with wxWidgets, which works better.
This was SVN commit r5311.
2007-08-30 17:52:57 +00:00
5e39585359 Added Mac build instructions using MacPorts.
This was SVN commit r5310.
2007-08-29 07:45:55 +00:00
c3de4710d3 Reverted update-workspaces.bat
This was SVN commit r5127.
2007-06-02 15:24:20 +00:00
cf89464e64 # autobuilder fix
detours is configured as a static lib, which would require using the
same compiler, but we have several in action.
fix: include a stripped down version of its code in the main source tree

This was SVN commit r5126.
2007-06-02 12:43:42 +00:00
9d2acce9d8 # SwEng/cleanup
- deleted most old libraries/headers in codepit to avoid confusion (they
are now in SVN anyway). updated required-libraries-linux.txt accordingly
- moved rand() into separate file, out of lib.cpp
- removed CGUIScrollBarStyle.cpp to avoid empty-file warning
- wxwidgets.h: remove redundant #pragma lib and include wxw PCH
- move openal-specific stuff to external_libraries/openal.h
- cpu, bsd: macosx is-a bsd, so only test OS_BSD

This was SVN commit r5082.
2007-05-18 00:14:26 +00:00
d69a0c52bb update OpenAL include/lib from SDK (nothing really changed in the header)
add crypto++ to libraries (will later be used for checksums)

This was SVN commit r5058.
2007-05-11 09:41:46 +00:00
ccf4425f75 # Linux fixes
update-workspaces.sh: Ensure 'gcc' directory exists, to avoid confusing
errors.
extern_libs.lua: Don't use libraries/ (except for cxxtest and fcollada)
on Linux. Changed to native EOL.

This was SVN commit r4991.
2007-04-24 20:41:54 +00:00
58aaff1ff2 explain how/where to build premake
This was SVN commit r4987.
2007-04-23 08:34:16 +00:00
2d4f5478de Added ICC-Linux PCH support in Premake. (It's much more like the MSVC approach than the GCC one.)
Passed --have-std to CxxTest so it always adds the same code before
including precompiled.h, so that the PCH is usable.

This was SVN commit r4736.
2007-01-04 03:22:23 +00:00
4d8133f785 # Fixes for MSVC
Use _WIN32/__WXMSW__ instead of OS_WIN.

This was SVN commit r4668.
2006-12-01 20:34:28 +00:00
35ac7776ee GCC PCH support: closes #155, and decreases build times by a BUNCH!
Changed the default to generating PCH's for all platforms and added a
premake
command line option --without-pch, in case it breaks somewhere (but
AFAIK, Mac's
use recent enough versions of GCC, so it should be fine).

# Added support for precompiled headers into the Linux build system.
Build times are now significantly reduced (up to 50%!)

This was SVN commit r4642.
2006-11-12 19:46:47 +00:00
05c9525fdc update-workspaces.sh: generate atlas makefiles by default
*.lua: some extra libraries and options to make atlas work
premake:
- fixed #156 (creation of spurious dirs with strange permissions)
- implemented the "run" project kind to run the tests automatically
- changed the clean target for cxxtestgen projects to delete the
generated .cpp
files so that a make clean all actually regenerates the tests.

This was SVN commit r4639.
2006-11-12 03:39:40 +00:00
52077dfec5 no longer create vc2002 project
This was SVN commit r3994.
2006-06-09 20:01:25 +00:00
3fbc464857 # Updated build system
to use Premake 3.1 (slightly modified - see next commit), and to
properly support VS2005. Should still be compatible with GCC, though
there may be differences I haven't noticed.
Removed option to build ScEd (because it won't work anyway).

This was SVN commit r3782.
2006-04-20 01:20:24 +00:00
f2b662d12d Build: generate Atlas project files (with "update-workspaces --atlas") (for VS2003 only).
Premake: allow slight separation of files' locations on disk vs in the
project tree.
Atlas: require fewer include directories.

This was SVN commit r2956.
2005-10-17 01:11:12 +00:00
41068dc97d Add a note that Icecream is supported for distributed builds.
This was SVN commit r2799.
2005-09-28 23:07:09 +00:00