Commit graph

59 commits

Author SHA1 Message Date
8d88ffcdff SCons: rework test definition to link according to layer
tests used to be defined ad hoc and test definitions
are scattered confusingly over various directories.
Now built some simple rules into the buildsystem
to allow organising the tests into layers and
linking them accordingly.

Note: this switches to building shared objects
for the test classes too, which effectively speeds up
both re-building and re-running of test cases
2013-01-07 02:15:05 +01:00
2f1aa5ff58 switch off enum warning for now (#898) 2012-10-15 04:29:19 +02:00
d2f83523ca join recent player subsystem work, SCons overhaul and documentation 2012-01-11 07:54:43 +01:00
56ac1afe18 move Icon building down into separate SConscript 2012-01-11 07:05:01 +01:00
27db94a64c adjust code / indentation style
no functional change
2012-01-11 07:05:01 +01:00
d793a07037 Icon-Rendering: Inkscape is not really required
the icon rendering script from Joel had a function
to invoke Inkscape; it seems this was a leftover
from earlier attempts to render the icons.

Now, we seem to rely on lib Cairor solely
2012-01-11 07:05:00 +01:00
4d466a2c2e reorganise the initial setup calls 2012-01-11 07:05:00 +01:00
117851a94a get rid of the additional scripts dir in pythonpath 2012-01-11 07:05:00 +01:00
795217b542 actually switch to using those extracted modules from main build 2012-01-11 07:05:00 +01:00
b3c7d90e41 Move parts from main SConstruct into dedicated Python modules 2012-01-11 07:05:00 +01:00
08d330310f cleanup unnecessary builder function and flags in SCons build 2011-12-03 05:46:36 +01:00
aef929b3d9 better install the setup.ini direcly into $ORIGIN
seems to be the most obvious location to install it
2011-02-14 23:54:31 +01:00
3c27147459 small fixes, comments 2011-02-13 23:11:16 +01:00
80461c9b76 SCons: try to force installation of all generated icons
Not sure if this works; problem is that the icons
generated from SVG are just dumped into the target
folder, but we miss to generate the respective
installation targets
2011-02-07 11:35:44 +01:00
ff0ae1527a Fix build: the LUMIERA_PLUGIN didn't get through to the object compilation 2011-02-06 15:12:13 +01:00
d9f90c2c04 SCons: finish reworking buildsystem to rely on custom builders.
All target paths and install targets now defined automatically,
most of the buildscript just using plain sourcefile names
2011-01-30 22:12:55 +01:00
9cb03c7015 Fix installation triggered already by build target 2011-01-30 19:43:51 +01:00
daef6c7676 SCons: remove unnecessary indirections $SRCDIR, $MODULES, $ICONDIR etc
these don't create real flexibility and make definitions less readable
2011-01-30 19:20:02 +01:00
abf1bc776b SCons: remove all explicit target and install specifications
now superfluous, because our custom builder handles that automatically
2011-01-30 18:56:51 +01:00
609873d90b switch to use the new (better) builder implementation
especially this means to use the common well-known names again,
like "Program" "SharedLibrary". The customisation now happens
invisible in LumieraEnvironment.
2011-01-30 17:00:15 +01:00
ab481a80b8 better implementation of Lumiera custom SCons builders, wrapping the predefined builders 2011-01-30 16:47:03 +01:00
014c22b40a SCons: rework build directory configuration. All customisations to LuimieraEnvironment 2011-01-30 15:27:21 +01:00
9e56434c7e SCons: start concentrating all custom builders into LumieraEnvironment 2011-01-29 23:09:02 +01:00
bc22ec7faa Install: first preliminary working installation setup
the installed lumiera exe can even be started...
...well with a bit of cheating: you need to cd into the lib/lumiera
because the PLUGINPATH problem isn't solved yet
2011-01-29 16:45:22 +01:00
7993759f8e SCons: remove the homebrew tarballer
that was a nice SCons learning exercise, but never used
moreover, packaing is not the concern of a build system
2011-01-29 14:16:15 +01:00
a6810957b4 Install: change organisation of target and output directory variables
now supporting a PREFIX in addition to the INSTALLDIR.
The latter is intended for package building
2011-01-29 14:10:19 +01:00
2bcc8d9ae3 SCons: build loadable modules immediately to the target destination 2011-01-29 02:33:13 +01:00
35953b335b SCons: rearrange output directory to target/modules 2011-01-29 02:06:21 +01:00
764a38abe6 SCons: experimental support for some library lookup concerns
- setting -rpath with $ORIGIN  to build a relocatable package
 - fix missing DT_SONAME (likely just a problem of very old SCons version)
2011-01-28 23:31:00 +01:00
a29591c299 SCons: several small improvements, e.g. valgrind-suppressionfile 2010-07-26 03:24:15 +02:00
86bc30a10a Merge Ubuntu/Lucid adjustments. Drop pre 1.0 compatibility 2010-05-21 03:43:09 +02:00
d10380d124 SCons: dropping pre 1.0 compatibility
note: current SCons development is targetting 2.0,
current stable is 1.3, which is included in Squeeze
even Debian/Lenny includes 1.0.
2010-05-21 01:59:26 +02:00
Michael Ploujnikov
9f76cbf3e9 scons: propagate PKG_CONFIG_PATH when checking for library
fix pkg-config problem with on Fedora12, when nobug using a lib
installed in non-standard paths
2010-01-18 07:14:55 +01:00
d11c57adb8 python-2.6 fix: loading the icon_rener.py script (Ticket #222) 2010-01-16 17:04:32 +01:00
ae67c6db5c merge buildsystem changes (dummy player and GUI/gdl work) 2009-04-24 17:20:39 +02:00
34d0c6905e SCons: now require either a custom 'gdl-lum' or GDL >= 2.27.1 2009-04-20 01:58:34 +02:00
5ee6d375c0 SCons: fix the compatibility switch; the new code path should also be used for scons 0.97 2009-01-20 02:38:13 +01:00
Joel Holdsworth
6d8f598312 Fixed a bug when SCons.__version__ == "0.97.0d20071203" 2009-01-19 19:33:13 +00:00
13ca25569a merge plugin building rule and cleanup done for starting the GUI as module 2009-01-15 14:22:01 +01:00
ac156231ac SCons: use new plugin building rule for the test plugins 2009-01-12 12:48:14 +01:00
bd6436e43b SCons: implement logic to find source trees, which than can be built as plugin 2009-01-12 11:42:03 +01:00
62922d357b (irrelevant) changes to make the dummy code build and load shared module
Explanation: together with the bare SCons build system, on this branch I added
some dummy codefiles, to validate the build system is working as merged in from master
2008-12-20 03:40:28 +01:00
f6209d99d3 Merge: change building to create modules
includes DistCC and CCache support,
LUMIERA_PLUGIN_PATH and LUMIERA_CONFIG_PATH
non-verbose build messages
2008-12-20 02:15:33 +01:00
7a64f37643 SCons: use two existing modules for integrating DistCC and CCache 2008-12-19 20:17:23 +01:00
12fc97b8e2 Build most of Lumiera as shared library (SCons build) 2008-12-15 13:36:42 +01:00
6d5cf0e642 scons: use Doxygen builder
(lib implementation from http://www.scons.org/wiki/DoxygenBuilder)
2008-08-28 02:57:12 +02:00
32dd0e661a replace the homebrew GCH-builder by a lib solution 2008-08-21 09:59:24 +02:00
0ece037f91 make build work again with SCons 0.96
Added a conditional switch to use the pre-0.98-fix only for the old SCons versions
2008-08-21 01:24:46 +02:00
944b7c4dd4 preliminary fix for the SCons build for Debian/testing
WARNING: breakes build on Debian/stable
Explanation: I tried to provide a backported implementtation of
features introduced with SCons 1.0 (until we can require SCons 1.0 officially)
Unfortionately, some internal APIs changed quite large in 0.97
Have to build in some conditional code, so it works with SCons 0.96 again)
2008-08-20 15:50:17 +01:00
878ce2319b integrated SVG Icon rendering into the SCons build 2008-08-19 05:03:29 +02:00