Commit Graph

421 Commits

Author SHA1 Message Date
Sergey Popov
e6e2f98710 Added a scons option to relocate build/ dir. 2009-06-27 19:13:15 +00:00
Sergey Popov
39621ecc0d Added support for libnotify desktop notifications to scons. 2009-06-21 10:44:53 +00:00
Sergey Popov
37c98b7a1d Ensure that scons exits with an error...
...if building of a disabled target is requested

either directly or indirectly.
2009-05-03 10:32:00 +00:00
Sergey Popov
4700504d71 SCons was installing irrelevant files to docdir. Fixed. 2009-04-27 11:52:53 +00:00
Sergey Popov
ef5afba9ab Avoid linking programs against external dependencies they don't need.
Don't link wesnothd against pango etc, don't link the game against mysql..
2009-04-27 11:00:14 +00:00
Sergey Popov
1ea53563f6 Disable -Wno-unused -Wno-sign-compare.
Pass -Wno-unused-parameter on strict compiles.
2009-04-25 19:06:08 +00:00
Sergey Popov
3b600d3a6e Check for sendfile() only if header sys/sendfile.h is detected.
Hopefully there aren't any non-Linux platforms that have
have sys/sendfile.h and incompatible sendfile()
2009-04-23 23:00:59 +00:00
Sergey Popov
7e6f6bc001 Added dummy_locales option to scons. 2009-04-12 10:56:43 +00:00
Sergey Popov
1f2baadc6f Removed import of unused module 'sets'. 2009-03-31 14:42:45 +00:00
Sergey Popov
b8b042b788 No longer run config checks on scons -h. 2009-03-31 12:34:50 +00:00
Sergey Popov
762ae57dc2 Check for lua only if it's enabled. 2009-03-23 09:39:17 +00:00
Patrick Parker
996c16d2e8 add a DISABLE_LUA compile option 2009-03-23 03:26:17 +00:00
Sergey Popov
e94dcecf17 Added a custom check for lua. 2009-03-23 01:26:52 +00:00
Sergey Popov
738ddee7b9 Made pkgconfig check add '' around package's name
to relieve check's caller from this responsibility.
2009-03-22 19:53:11 +00:00
Sergey Popov
afa0a16dd6 Added support for lua to scons. 2009-03-22 19:34:20 +00:00
Sergey Popov
08ba416fae Use env.Requires instead of env.Depends...
...to make wesnoth binary depend on translations.
2009-03-20 12:04:59 +00:00
Sergey Popov
41fa038c43 Fix scons warnings about deprecated Options class. 2009-03-20 12:04:53 +00:00
Sergey Popov
b10a1bd3a3 Set scons version requirement to 0.98.3 2009-03-20 12:04:48 +00:00
Sergey Popov
e244502bcd Removed some cruft. 2009-03-20 12:04:43 +00:00
Sergey Popov
e4718e1537 Added config checks for round() and sendfile() to scons. 2009-03-10 14:20:28 +00:00
Sergey Popov
19c0d2eb3b Added hints about build/config.log and --config=force. 2009-03-03 10:14:01 +00:00
Gunter Labes
fcc2aba980 use proper git subcommand invocations 2009-03-01 18:08:26 +00:00
Daniel Franke
d2d21276a2 Remove Python AI, resolving bug #13047 and #13048. 2009-02-23 07:05:50 +00:00
Sergey Popov
2ed55122df Build binaries in src/ with "base" build variant. 2009-02-13 14:09:38 +00:00
Sergey Popov
85cc3202ce Made scons create binaries right in working copy root
instead of creating them in variant dir and then hardlinking them there.
2009-02-13 00:24:44 +00:00
Patrick Parker
21aee16ded check for existence of %HOME% environment variable...
...to prevent invalid key error on some platforms
2009-02-10 03:58:33 +00:00
Sergey Popov
78d6097467 Made NSIS installer install text files (COPYING, etc) with .txt extension. 2009-02-09 18:43:45 +00:00
Sergey Popov
af9897acaa Added changelog and players_changelog to list of files installed by NSIS. 2009-02-09 13:28:54 +00:00
Sergey Popov
e4e28185af Made scons read version string from src/wesconfig.h instead of config.h.dummy 2009-02-02 17:37:51 +00:00
Gunter Labes
e282467aad Revert "going back to the mysql c++ api"
This reverts commit 2009-01-28T20:38:29Z!thomas.baumhauer@gmail.com.
2009-02-01 11:46:52 +00:00
Thomas Baumhauer
abb77e0d4c going back to the mysql c++ api 2009-01-28 20:38:29 +00:00
Sergey Popov
d444843b39 Fixed an error about missing action with SCons 1.2.0
SCons 1.2.0 barfs if an empty list is passed as an action.
That that was the case with 'uninstall' alias if there were no targets in
'install' alias. Fixed.
2009-01-25 11:05:11 +00:00
Sergey Popov
040c9e072f Generated NSIS script wasn't installing translations since 2009-01-11T13:15:27Z!loonycyborg@gmail.com. Fixed. 2009-01-18 23:39:14 +00:00
Sergey Popov
4c9037f023 Added extra_flags_config option to scons.
Those flags affect configuration and all builds.
2009-01-12 15:16:30 +00:00
Sergey Popov
31b4593e56 Fixed installation of translations.
Made localedirname option actually affect the directory where
translations are installed.
2009-01-11 13:15:27 +00:00
Mark de Wever
d8262df9c5 Disable the new pool allocated by default.
The new allocator seems to give some problems on some systems so disable
by default. The changes haven't been tested on scons and cmake.
2008-12-30 21:03:11 +00:00
Sergey Popov
b5d093c588 Remove mysqlpp check since mysql bindings are used directly now. 2008-12-11 19:42:09 +00:00
Sergey Popov
5973f6413f Made scons build translations only when building wesnoth,
...not wesnothd and other programs.
2008-12-11 18:33:33 +00:00
Sergey Popov
edf7be1b40 Pass compiler options to be compliant to C99 for C and C++98 for C++. 2008-12-06 22:41:27 +00:00
Sergey Popov
ac816d4e38 Added an option to disable custom pool malloc...
...to scons and disabled it on windows.
2008-12-03 13:30:30 +00:00
Sergey Popov
7e1b6b200e Change CXXFLAGS to CCFLAGS so .c sources will be affected too. 2008-12-03 09:12:40 +00:00
Gunter Labes
226c9288c7 made svn revision calculation also work with trunk...
...only git-svn (patch by ivan_i)
2008-11-17 10:38:47 +00:00
Sergey Popov
13a9d22cc3 Implemented a custom check for gettext's libintl. 2008-11-14 12:10:49 +00:00
Sergey Popov
7a1bd2dd1d Removed obsolete "static" option from scons script. 2008-11-07 20:50:26 +00:00
Sergey Popov
e78d1df3ba Removed dead code. 2008-11-02 18:10:56 +00:00
Sergey Popov
9721409c98 Added env.InstallBinary wrapper method and made use of it. 2008-11-02 18:10:48 +00:00
Sergey Popov
06b791357d Created dedicated Environment for unit tests since -lboost_test* breaks
compile of programs other than tests with boost 1.33.
2008-11-01 21:52:28 +00:00
Sergey Popov
6334ce9d6e Added jobs option to scons...
...which sets the number of parallel compilations. It functions like
-j argument with the exception that it persists,
2008-10-31 21:00:34 +00:00
Sergey Popov
b087aec475 Converted remaining installation productions to use InstallData. 2008-10-16 21:58:53 +00:00
Sergey Popov
d241bb6e38 Made use of InstallData when installing manpages. 2008-10-16 18:45:52 +00:00