Sergey Popov
c62cccd0ab
Added support for installing a systemd unit file for wesnothd
2012-08-24 15:55:19 +00:00
Sergey Popov
6376cee85a
Add -Wno-unused-local-typedefs to scons scrict compile options
...
That supposed to silence a warning from gcc 4.8, as in
2012-06-09T21:41:05Z!koraq@xs4all.nl
2012-06-09 22:13:40 +00:00
Alexander van Gessel
c2b3426af9
Do not install libsvn.py, it's not used by anything
2012-04-14 03:08:25 +01:00
Jérémy Rosen
9ec70dabc5
patch #3092 : Allow to specify default system-wide preferences by lipk
2012-03-05 22:36:26 +00:00
Ignacio R. Morelle
20bcf49f3e
Remove custom pool memory allocator per wesnoth-dev mailing list discussion
...
This affects the cmake and scons scripts, and various project files in
projectfiles/. I have only tested my changes to scons (and loonycyborg
might still want to review the diff regarding a line in src/SConscript
involving game.cpp).
2012-02-19 18:43:20 +00:00
Mark de Wever
6c6bf6e3a2
Added the NativeClient port code.
...
Thanks to Evgeniy Stepanov for providing the patch.
2011-12-17 16:37:19 +00:00
Sergey Popov
34481784d5
Disable ANA by default in scons since servers are broken with it.
...
That should fix bug #18295
2011-07-24 12:27:40 +00:00
Sergey Popov
301427f778
Started working on the new asio based network subsystem.
2011-06-18 23:10:55 +00:00
Lukasz Dobrogowski
91435494d8
Created new command_options object,
...
...which will be responsible for commandline parsing. Introduces
Boost.Program_options dependency.
2011-05-29 17:31:07 +00:00
Sergey Popov
e57fbec3f5
Added a scons option to enable openmp support using gcc's GOMP
...
openmp=true to enable.
2011-02-28 22:47:44 +00:00
Mark de Wever
ff422edc9c
Remove the editor option.
...
This changes causes the editor to be always build. It also sorts the
file entries in the build systems.
loonycyborg please review the scons changes.
2011-02-19 12:25:05 +00:00
Sergey Popov
452de587cc
Comment cleanup/fix
2011-02-12 16:52:50 +00:00
Sergey Popov
95f0164168
Removed gui=tiny option from SConstruct.
2011-02-12 16:44:11 +00:00
Guillaume Melquiond
2279bc0e77
Ported C++0x performance improvements from Autotools to Scons.
...
Since Scons was forcefully setting the compiler in C++98 mode, this
behavior has been preserved: C++0x features are not automatically
detected (as they were with Autotools) but rather require an
explicitly setting by the user.
Removed strict-aliasing disabling, since it has been fixed for several months already.
2011-02-06 13:23:05 +00:00
Sergey Popov
96e204957c
Split CXXFLAGS and LDFLAGS when reading them from system environment.
2011-01-03 23:27:17 +00:00
Sergey Popov
306cccfef5
Made scons not pass -DPREFERENCES_DIR= by default.
...
Pass it only if prefsdir or version_suffix is set. That is consistent
with other buildsystems and enables XDG compliant locations for user
configuration, user data and cache if prefsdir/version_suffix are not
set.
2010-10-15 01:24:24 +00:00
Sergey Popov
74f1cb1928
When compiling for windows set appropriate define to target windows 2000.
...
This fixes a compile warning from asio.
2010-08-24 14:44:04 +00:00
Sergey Popov
725c567339
Switch scons to use internal lua.
2010-07-30 12:04:28 +00:00
Sergey Popov
0f55fad9ee
Removed some cruft.
2010-07-22 20:24:44 +00:00
Sergey Popov
20e6cf420e
asio requires linking against libws2_32 on mingw
2010-07-22 19:43:07 +00:00
Guillermo Biset
b74b332561
Switched ana's default flag in SCons back to true.
2010-07-22 18:37:29 +00:00
Alexander van Gessel
ed56bdce55
revert 2010-07-09T23:11:14Z!ai0867@gmail.com, ANA isn't ready yet
2010-07-10 00:40:42 +01:00
Alexander van Gessel
5ae6f07445
Flip the 'use ana' switch's default to true for scons and autotools
2010-07-10 00:11:14 +01:00
Sergey Popov
5514c4e952
Add use_network_ana option to scons.
2010-06-22 00:05:01 +00:00
Guillaume Melquiond
e6ab1f0c1a
Removed explicit disabling of compiler warning,
...
...as the current codebase compiles fine with it.
2010-05-26 20:19:07 +00:00
Mark de Wever
4cc313daf2
Fix compilation for g++ 4.5
2010-04-25 09:43:12 +00:00
Sergey Popov
339b67f937
Do not build regression tests by default.
2010-03-27 01:34:49 +00:00
Sergey Popov
275a8c9f73
Removed some cruft.
2010-02-24 00:29:06 +00:00
Jérémy Rosen
53105be56f
remove EXPERIMENTAL blocks in source
2010-02-22 20:08:38 +00:00
Alexander van Gessel
d75b0f8cff
Remove lua switch from scons,
...
...wesnoth doesn't compile without it and autotools and cmake have
already dropped the switch
2010-02-06 18:13:11 +01:00
Eric S. Raymond
20792eed8d
Nail the default of 'experimental' to False.
2010-01-26 11:11:35 +00:00
Eric S. Raymond
2dbc96bef0
Now that the new pathfind code is working,
...
...enable it by default in 1.7 (but not 1.8 betas).
2010-01-26 10:31:54 +00:00
Eric S. Raymond
75925deb82
Merge of fendrin's new teleport and tunnel code.
...
The changes are guarded by the C++ and WML conditional symbol
"EXPERIMENTAL".
The experimental flag is temporarily defaulted off, so those patches
should have no effect on people doing ordinary builds. This may change
once fendrin has the tunnel code fixed and polished.
2010-01-26 06:34:20 +00:00
Eric S. Raymond
0f129764ae
Doc typo fix.
2010-01-26 03:16:11 +00:00
Eric S. Raymond
30d0e3935b
Add experimental option.
...
This defaults to 'yes' for odd-numbered (unstable) versions, 'no' for
even-numbered (unstable) versions. It controls an EXPERIMENTAL
preprocessor symbol, defined only when experimental is 'yes', and an
EXPERIMENTAL automake conditional.
This is meant as a guard option for experimental, developer-only code
that should be disabled in stable versions. The immediate application
is fendrin's new pathfinding/tunnel code, which we want to carry in
the main codebase for the remainder of 1.7 but be automatically
disabled in 1.8 betas and 1.8 itself.
Implemented for scons and autotools but not yet cmake.
2010-01-26 03:12:25 +00:00
Sergey Popov
a6bee72ded
Removed dummy locales from scons.
2009-10-31 22:02:43 +00:00
Sergey Popov
068103c765
Added 'lockfile' option to scons
...
It uses a lockfile to prevent multiple instances of scons from being run
in the same working copy at the same time.
2009-10-10 11:00:12 +00:00
Chusslove Illich
18dd3c5871
Localized image states are now checked at runtime,
...
...so that fuzzy localized images are not used if present.
This requires installing the l10n-track file as well.
2009-10-03 16:18:21 +00:00
Sergey Popov
24ec2de877
Fix conditional enabling the 2009-09-24T16:46:12Z!kailoran@gmail.com workaround.
...
s/env["PLATFORM"]/sys.platform. env["PLATFORM"] is used by cross-compile.
2009-09-25 13:23:37 +00:00
Sergey Popov
d24931ac3a
Improve the workaround in 2009-09-24T16:46:12Z!kailoran@gmail.com.
...
Provide a simple subprocess module based spawner in case if pywin32
extensions aren't available.
2009-09-25 13:13:24 +00:00
Tomasz Śniatowski
659c4562e0
work around a SCons "The command line is too long"...
...
...problem on windows during linking using code from
http://www.scons.org/wiki/LongCmdLinesOnWin32
2009-09-24 17:46:12 +01:00
Sergey Popov
fe0f94e913
Updated SConstruct to reflect KDE and libnotify notification...
...
...backends unification.
2009-08-10 09:47:58 +00:00
Sergey Popov
d96f28309d
Prevent building of translations if 'wesnoth' target is requested...
...
...but its dependencies aren't found.
2009-08-08 23:49:44 +00:00
Sergey Popov
5b4ece9bc6
Check for fribidi, X11, etc only if checks for client dependencies succeed.
...
Check for poll, select and round before all other checks.
2009-08-08 23:49:38 +00:00
Tomasz Śniatowski
1a934ac94b
rename editor2 -> editor. Old editor is long dead, long live the new editor!
2009-08-08 12:14:58 +01:00
Sergey Popov
65e0cf6b9e
Require boost >= 1.34.1 for wesnothd and require >= 1.35 for the client.
2009-08-03 19:28:12 +00:00
Sergey Popov
d15f17fd01
Bump boost version requirement in SConstruct.
2009-08-01 14:33:16 +00:00
Sergey Popov
5b502fab98
Lowered frbidi version requirement since 0.10.9 seems to work too.
2009-07-12 17:45:29 +00:00
Sergey Popov
36e8937f4d
Made scons use pkg-config to check for fribidi.
2009-07-11 12:30:34 +00:00
Sergey Popov
4f4a80dd77
Wesnoth was depending on translations only with dummy_locales enabled. Fixed.
2009-07-08 10:38:54 +00:00