Commit graph

675 commits

Author SHA1 Message Date
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
Sergey Popov
97a7b74bb0 Readded the option to disable built-in editor to scons script. 2008-10-04 14:19:57 +00:00
Tomasz Śniatowski
6022234caa Remove the old editor.
This includes removing sources, cfg files, editor targets in build
systems (scons was done already), and removing old-editor only parts
from several other files under data/ and src/. There probably are some
remains of the old editor left.
2008-10-04 12:24:35 +01:00
Sergey Popov
e865b5a635 Removed old editor from scons build system. 2008-10-04 11:03:29 +00:00
Sergey Popov
30e9459886 Refactored some code in installation section. 2008-09-30 16:56:35 +00:00
Sergey Popov
c9d680cc1c Made SDL_net a base prerequisite since all programs don't compile without it. 2008-09-27 21:08:00 +00:00
Sergey Popov
a30935772a Generate revision.hpp in src/. 2008-09-26 17:40:08 +00:00
Sergey Popov
c7bfb62092 Fixed appending M to revision string for git. 2008-09-26 15:25:50 +00:00
Sergey Popov
dbb0f1de86 Added config check for gzip support in boost iostreams. 2008-09-26 12:42:09 +00:00
Sergey Popov
b9352d8602 Made scons remove build/variant/ dirs...
...if stale duplicated sourcefiles are found in them.
2008-09-22 10:36:39 +00:00
Sergey Popov
7900f30ab0 Delete build/*/SConscript files in case...
...there are still left some from before 2008-09-20T15:42:45Z!loonycyborg@gmail.com.
2008-09-20 19:57:36 +00:00
Sergey Popov
00177d437f No longer duplicate sources to builddir, only build objects in it. 2008-09-20 15:42:45 +00:00
Sergey Popov
8b96d4f06d Refactored alias and hardlink related code in scons script. 2008-09-20 14:19:48 +00:00
Sergey Popov
21ae62036d Removed some cruft. 2008-09-20 13:09:16 +00:00
Sergey Popov
4a4d5b5c3c Added start and finish pages to NSIS installer...
...and made use of installer graphic.
2008-09-14 13:49:51 +00:00
Sergey Popov
0f84c0833f Fixed "gettextdir" option. 2008-09-13 14:38:22 +00:00
Sergey Popov
13d0e52a3d Added an option to enable forum user handler to scons. 2008-09-12 20:03:48 +00:00
Pauli Nieminen
65ca06b1c3 Added backward compability code for boost test 1.33 (tested using 1.33.1) 2008-09-12 12:32:47 +00:00
Sergey Popov
8b5b55b275 Made NSIS script install manual and readme files. 2008-09-12 12:07:27 +00:00
Sergey Popov
c113ceb808 Made generated nsis script create shortcuts and install dlls. 2008-09-11 13:27:11 +00:00
Pauli Nieminen
715b7d031b Fixed signed/unsigned comparision warnings 2008-09-11 12:34:33 +00:00
Gunter Labes
d852c4edc7 simplified and extended svnrev code when git-svn is used:
* append L when there are local commits

  * append M when there are uncommitted local changes
2008-09-08 22:51:12 +00:00
Tomasz Śniatowski
d553c9d313 change #ifdef USE_EDITOR2 to #ifndef DISABLE_EDITOR2...
...and update buildsystems accordingly. This will force people using
custom builds (e.g. devcpp, codeblocks) to either add editor2 sources
or consciously disable it.
2008-09-05 14:32:24 +01:00
Sergey Popov
976f4a9fe0 revert 2008-09-04T08:05:33Z!loonycyborg@gmail.com...
...and use different way of ensuring that gettext tool is affected by PATH.
2008-09-04 19:44:06 +00:00
Sergey Popov
9bd73133a7 Forward PATH at Environment contruction time...
...so gettext tool is affected by PATH.
2008-09-04 08:05:33 +00:00
Sergey Popov
c2380fba37 Added a general purpose pkg-config check and used it to check for fontconfig. 2008-09-03 16:53:44 +00:00
Sergey Popov
52ebf88c8c Made scons link against fontconfig. 2008-09-03 16:08:17 +00:00
Mark de Wever
336cbeefd9 Removed the --small-gui build option.
Starting Wesnoth with the --smallgui parameter achieves the same. The
other code workarounds for smallgui are already gone.
2008-09-03 15:46:56 +00:00
Sergey Popov
e27d2291b4 Added a NSIS script template and scons target to generate script from it.
The template is very WIP.
2008-09-03 08:23:44 +00:00
Pauli Nieminen
30fb091b0b Improved scons revision number generator when using git. 2008-08-30 15:29:06 +00:00
Sergey Popov
c52419e638 Removed dummy_locales option from scons script since it's runtime option now. 2008-08-28 10:43:15 +00:00
Pauli Nieminen
609c696945 Changed scons default build target to release 2008-08-26 16:21:10 +00:00
Pauli Nieminen
a5cf2e7f9b Made scons build debug to be default 2008-08-26 15:42:54 +00:00
Sergey Popov
4d39fc6474 Relocated .sconsign.dblite, config.log and .sconf_temp to build/ dir. 2008-08-26 15:08:24 +00:00
Sergey Popov
93a3b77973 Set default value of destdir to "/" fixing installing to cwd by default. 2008-08-26 09:19:15 +00:00
Sergey Popov
f5d0aa586b Made relative paths in destdir work. 2008-08-25 20:30:18 +00:00
Sergey Popov
fad708a5ca Use env.Depends instead of env.Requires which isn't available in scons 96.93. 2008-08-25 10:16:12 +00:00
Sergey Popov
7338913207 Made scons automatically build locales and translations if nls is enabled. 2008-08-24 14:29:58 +00:00
Pauli Nieminen
c934825607 Excluded data/test/ from tarball 2008-08-23 16:08:37 +00:00