Commit Graph

44 Commits

Author SHA1 Message Date
Ykkrosh 202b13d557 Fix the calling conventions properly this time (I hope)
This was SVN commit r7542.
2010-05-13 16:22:07 +00:00
Ykkrosh e6f9d25925 Exclude system headers from dependency generation. (Speeds up 'make' with no file changes by ~80%)
This was SVN commit r7159.
2009-10-29 16:45:34 +00:00
Ykkrosh f1e3468f10 Fix paths in makefile dependency generation
This was SVN commit r7157.
2009-10-23 21:41:23 +00:00
Ykkrosh c7ed6c8924 Fix project type reported in comment in makefiles
This was SVN commit r7082.
2009-08-07 15:46:03 +00:00
Ykkrosh 65d3bd642c Fix linking problems on Linux (patch from Christian Ruppert (idl0r))
This was SVN commit r7077.
2009-08-06 19:41:18 +00:00
Ykkrosh 6525cfd39e Patch from #259: [FreeBSD compat] portability fixes
This was SVN commit r7002.
2009-07-16 16:57:59 +00:00
olsner eb4c94e44c Define OS_LINUX when assembling assembly on linux
This was SVN commit r6954.
2009-07-13 16:35:29 +00:00
olsner f28ab0c473 Add premake hack to produce elf64 assembly on amd64/x86_64
This was SVN commit r6952.
2009-07-12 15:16:03 +00:00
Ykkrosh 8c1fc507ab # Build system fixes for Linux
Use proper library names instead of hard-coded paths when linking to dll
projects, so they can be found properly at run-time

This was SVN commit r6759.
2009-03-22 16:38:27 +00:00
Ykkrosh 6b51050f96 Updated Premake to generate VS2008 project files.
This was SVN commit r6127.
2008-06-28 00:49:38 +00:00
olsner 264f394f17 Moved X11 stuff out of unix/ folder, added osx/ sysdep folder, corresponding premake.lua changes, and a few misc other Mac OS X-related changes
This was SVN commit r5320.
2007-09-03 12:56:45 +00:00
Ykkrosh eea76e7d9d Added Valgrind headers.
Changed ICC PCH arguments to the form that's not deprecated in ICC 10.

This was SVN commit r5319.
2007-09-02 23:41:06 +00:00
olsner 7d4af5979b Fixes for the Mac.
# The engine now builds and runs on Mac OS X.

Most changes were localized to the sysdep/ folder and the build system.
This
is what porting should be like! Hopefully nothing breaks on the other
platforms though ;-)

This was SVN commit r5081.
2007-05-17 03:37:49 +00:00
Seth 3c1bcde78f Replaced
#include <malloc.h>
with
#include <stdlib.h>

Because it caused some build errors on the Mac OS X

This was SVN commit r5002.
2007-04-28 16:23:50 +00:00
Ykkrosh 8a9ddae60b Oops, I broke GCC PCH a month ago. Fixed, and added a comment so I now know why it does what it does.
Also, updated the dependency checking so it rebuilds the PCH file when
included files change.

This was SVN commit r4813.
2007-01-26 21:16:49 +00:00
Ykkrosh 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
olsner 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
olsner 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
Ykkrosh de0f893c18 Recompiled Premake on Windows. Added some headers so HAVE_PCH=0 works in MSVC.
This was SVN commit r4442.
2006-09-30 21:36:19 +00:00
Ykkrosh d0dd86d0b4 # Fixed unit test build system on Linux
This was SVN commit r4441.
2006-09-30 21:09:02 +00:00
Ykkrosh 2763d3a311 Made CxxTest work a bit more on Linux
This was SVN commit r4438.
2006-09-30 18:47:24 +00:00
dave b899ff6823 Premake need to be changed to create makefiles which work on OSX
updated the lua to handle os x project files

This was SVN commit r4293.
2006-09-04 16:33:47 +00:00
Ykkrosh e53242284f # Updates to unit-testing system.
Premake: Changed to use PCH when compiling tests.
CxxTest: Got rid of /Wp64 warnings. Changed TS_ASSERT_STR_EQUALS to
print both strings on failure.
win_internal: Added the bits that CxxTest::Win32Gui needs (because
Win32Gui is now compiled with PCH and uses our sysdep headers).
Disabled test_cache_policies, because it took long enough for me to read
its name.

This was SVN commit r4237.
2006-08-22 21:38:53 +00:00
dave 1a8568cf24 Added the -i flag for nasm ... now it won't crap out
This was SVN commit r4228.
2006-08-19 16:32:30 +00:00
janwas aeed96dafa # improvements to build system for asm files
split ia32_asm code up into memcpy, color
premake: add (windows-only so far) support for NASM include paths -
required when using %include. see rationale in vs.c
refs #124

This was SVN commit r4039.
2006-06-25 20:58:03 +00:00
olsner c59de80915 # Integrated our new unit testing framework with premake to get automated testing after every re-compile.
Trac #117

This was SVN commit r3975.
2006-06-07 22:19:42 +00:00
olsner 61f40e4775 Minor modifications to port new build setup to linux
This was SVN commit r3943.
2006-06-04 00:26:36 +00:00
Ykkrosh 54c1508db6 Renamed autobuilt ps.exe to pyrogenesis.exe, to match the new project layout.
Fixed Atlas project creation.
Improved VS2005 linking speed.
Added work-in-progress environment (water, sun) editing to Atlas.

This was SVN commit r3935.
2006-06-03 05:08:32 +00:00
Ykkrosh 5d9615da50 Modified version of Premake 3.1. Changes are:
* support for NASM .asm files
* -MF option to compiler
* non-automatic PCH support
* no-edit-and-continue flag
* (no-)native-wchar_t
* no-manifest
* trimprefix, to avoid wasteful deep nesting in project files

This was SVN commit r3783.
2006-04-20 01:28:20 +00:00
Ykkrosh 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
prefect dd031d5367 Force proper target file name in automatically generated dependency file.
Distributed compiles via Icecream should now really work with proper
dependency
file generation.

This was SVN commit r3059.
2005-10-30 20:58:12 +00:00
Ykkrosh 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
Matei cfb0bb597c Fixed premake quote bug that was causing it to generate incorrect vcproj XML files.
This was SVN commit r2818.
2005-09-30 06:23:03 +00:00
janwas 88f78b9ea2 committed Simon's fix for building asm files in dirs containing spaces
This was SVN commit r2811.
2005-09-29 18:41:40 +00:00
prefect 4146e3465c Use gcc/g++ -MF to explicitly give the name of the dependency file.
This fixes the interaction with Icecream for distributed compiling.

This was SVN commit r2797.
2005-09-28 21:59:35 +00:00
olsner a7e0c3d0ac fix for the underscore problem in the assembler symbols
This was SVN commit r2766.
2005-09-26 05:39:58 +00:00
olsner 82f663e5a2 Renamed output files in the generated GNU makefiles so that e.g. ia32.asm and ia32.cpp don't generate the same object file
This was SVN commit r2728.
2005-09-14 23:55:56 +00:00
olsner 2ab9584840 snd.cpp: initialize listener orientation and position (my OpenAL drivers complained about the old random values)
premake stuff: call assembler objects *.asm.obj instead of *.obj (so
that ia32.asm doesn't collide with ia32.cpp)
ia32.asm: use .text section for proper linkage

This was SVN commit r2709.
2005-09-13 20:42:01 +00:00
olsner 35591f4d24 Premake support for assemblying .asm-files with nasm (now also on windows!)
This was SVN commit r2704.
2005-09-13 03:51:48 +00:00
olsner 884418aed9 Linux support for including nasm in the build process
This was SVN commit r2703.
2005-09-13 00:16:47 +00:00
Ykkrosh be9bdcc308 /W4 in Premake
This was SVN commit r2617.
2005-08-14 01:16:11 +00:00
Ykkrosh fb14adc68b Added the ScEd project into the default solution/workspace (but set to not be built)
This was SVN commit r1603.
2004-12-31 13:50:53 +00:00
Ykkrosh cf7f9dcc47 Made premake put ps_test.pdb into binaries/data
This was SVN commit r1458.
2004-12-05 19:10:57 +00:00
Ykkrosh ec3452679c Restructuring
This was SVN commit r1453.
2004-12-05 17:59:29 +00:00