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
Sergey Popov
0b542118a8
Added InstallData wrapper method and used it to install icons...
...
...and desktop entry.
2008-10-16 17:48:05 +00:00
Sergey Popov
7f87e3782c
Added a warning if prefix is set to relative dir...
...
...and fixed interference with destdir option in case of relative
prefix.
2008-10-13 14:25:07 +00:00
Sergey Popov
5c9f63e3b2
Committed a missing part of Pietro_S's patch.
2008-10-11 12:36:03 +00:00
Sergey Popov
a0b97cca3d
Made suncc-specific switches affect config checks.
2008-10-11 12:01:07 +00:00
Sergey Popov
ada186e505
Committed (heavily modified) patch by Pietro_S...
...
...to make scons use suncc toolset on OpenSolaris.
2008-10-11 11:52:42 +00:00
Sergey Popov
b03515ffbf
Moved gcc-specific flags to gcc-specific section in SConstruct.
2008-10-11 11:29:11 +00:00
Sergey Popov
98620b3391
Added glibcxx_debug build variant...
...
...which passes flags to enable libstdc++ debug mode.
2008-10-09 18:58:39 +00:00
Sergey Popov
a3f20a6e67
Made scons try to generate dummy locales only if localedef is found.
2008-10-09 14:37:59 +00:00