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
Sergey Popov
7c3df74d58
Improved distcc option to take arbitrary number of parallel compilations.
2008-08-22 17:20:26 +00:00
Pauli Nieminen
344ae5aa46
Fixed disabling distcc with 0 parameter
2008-08-22 16:58:24 +00:00
Pauli Nieminen
c89e3a4a8e
Made distcc take parelization level as parameter
...
Changed localedef --force to posix compliance -c switch
2008-08-22 16:53:42 +00:00
Eric S. Raymond
259a808ad4
The build variable now defaults to a 'base' value...
...
...that builds in the distribution root, restoring the old
Emacs-friendly default behavior. Next step: try to fake Emacs compile
mode into coping gracefully with the other variants.
2008-08-21 22:04:27 +00:00
Pauli Nieminen
2b6f8637f2
Prevent dummylocales compilation in windows
2008-08-20 20:36:41 +00:00
Sergey Popov
439b66e82a
Use "git-svn find-rev HEAD" to find revision of git-svn.
2008-08-20 17:07:28 +00:00
Sergey Popov
61469a774b
Fixed crash when installing dummy locales if locales dir doesn't exist.
2008-08-20 14:00:49 +00:00
Pauli Nieminen
a5ed42c1dd
Broken dummylocales runtime configuration implementation. installation fails
2008-08-20 13:55:07 +00:00
Sergey Popov
b1adf57470
Use env.Command to copy/hardlink binaries to working copy root...
...
...thus fixing bug #11987
2008-08-19 10:54:28 +00:00
Tomasz Śniatowski
c19943c2ba
Make editor2 options on by default in the build systems
2008-08-15 19:11:11 +01:00
Sergey Popov
80c49994f4
Made "scons all" build tests too.
2008-08-13 22:16:03 +00:00
Pauli Nieminen
e50d11af06
Added boost asio and smart_ptr library checking to scons
2008-08-12 20:01:52 +00:00
Sergey Popov
38aff56452
Unit tests require all game and server's dependencies.
...
Reflected this in scons recipe.
2008-08-10 18:30:56 +00:00
Sergey Popov
66733c3ffb
Made scons --help sort options alphabetically.
2008-08-05 12:04:30 +00:00
Gunter Labes
3207048de8
typo fixes
2008-08-05 11:53:30 +00:00
Sergey Popov
36bb0ae608
Ensure that "scons install" always updates datafiles.
2008-07-27 19:38:00 +00:00
Greg Copeland
32ba674b92
User's path is now always forwarded, regardless of build platform.
...
Previously, user's path was only provided on Windows.
2008-07-25 20:05:52 +00:00
Tomasz Śniatowski
52c634c971
The old editor now build fine with editor2 option set, so remove warnings and checks for that
2008-07-20 21:53:08 +01:00
Sergey Popov
3ec1d79883
Fixed scons prepending destdir to path in -DFIFODIR.
2008-07-19 09:35:41 +00:00
Sergey Popov
0b2292941d
Added PythonExtension wrapper method to scons.
2008-07-14 16:53:20 +00:00
Sergey Popov
d4bae581b0
Added option to specify location of GTK SDK to scons.
...
Use env.ParseConfig in pango check instead of TryAction("pkg-config ...
2008-07-13 10:24:33 +00:00
Mark de Wever
f3962c61f0
When not testing for prerequisites let have_X depend on the platform.
2008-07-12 09:32:27 +00:00
Mark de Wever
e63e00dad2
Write in the pango render engine for the new widget library.
...
Also enabled it for scons, cmake still needs to be done.
2008-07-11 16:53:20 +00:00
Sergey Popov
c079143228
Added custom check for pango(not used for now).
2008-07-10 18:34:07 +00:00
Sergey Popov
a203628efb
Pass -Wall -Wno-unused -Wno-sign-compare in all build variants.
2008-07-07 09:31:08 +00:00
Sergey Popov
4e00dc4c43
Moved Mordante's gui2 sources from libwesnoth to their proper place...
...
...thus eliminating circular references between libwesnoth and
libwesnoth_core.
2008-07-05 21:00:30 +00:00
Pauli Nieminen
1e8880e604
[[frame counter and build recipe fixes]]
...
Changed test_utils::fake_event_source to use frame counter as time
source instead of real time. This makes test cases more predictable
and easier to write.
Removed linker workarounds and added --start-group --end-group linker
parameters
2008-07-05 19:09:24 +00:00
Tomasz Śniatowski
a0fa5d2ad6
add "z" lib in scons when building on win32,
...
...wesnoth won't compile for me without it. If it breaks building for
someone else go ahead and remove it.
2008-07-04 00:37:57 +01:00
Tomasz Śniatowski
1126f6daba
add -Wall to build=release. I see no reason not to have these warnings on.
2008-07-04 00:35:48 +01:00
Tomasz Śniatowski
0638b21478
add "EXPERIMENTAL" warning near editor2 options
2008-07-04 00:34:22 +01:00