Commit graph

389 commits

Author SHA1 Message Date
Mark de Wever
381c2a786c Only set the g++ compiler flags for g++.
There were some problems on MSVC with the g++ compiler flags. This patch
should fix it, but that's untested. (It's tested that it doesn't break
g++.)
2009-04-12 15:45:12 +00:00
Mark de Wever
f3b1a0de9c Remove the fontconfig test for MSVC.
When using MSVC fontconfig is not used so no need to test for it.
2009-04-10 19:19:53 +00:00
Nils Kneuper
87b4ec2123 add a prefix and suffix to installed .desktop files
some experiments for adding the prefix/suffix behind the Name.*=.*
expression, so far not successfull and thus commented out
2009-04-07 15:10:45 +00:00
Nils Kneuper
5b8bcdac63 more changes for installation of desktop files:
* desktop file installation not needed on apple and cygwin

* use the correct Exec= entry and not the default for the .desktop
  files (since this can be changed via prefix/suffix)
2009-04-07 11:58:48 +00:00
Nils Kneuper
00f743de79 add installation of .desktop files (and corresponding icons) to cmake recipe 2009-04-07 10:24:37 +00:00
Mark de Wever
ecb0ff34c5 Lua is only mandatory for the game. 2009-03-28 07:36:29 +00:00
Mark de Wever
9fb14f8965 Make pkg-config optionally, depending on the game. 2009-03-27 22:45:22 +00:00
Mark de Wever
581ba90ca9 Update the cmake todo list. 2009-03-27 22:31:26 +00:00
Nils Kneuper
17157daedd port over 2009-03-24T14:18:45Z!crazy-ivanovic@gmx.net from branches/1.6,
...commit message was: add the searching for sendfile/round to the
cmake recipe now a file for the defines is created automatically...
2009-03-24 14:28:52 +00:00
Mark de Wever
086ef11537 Add lua support for cmake. 2009-03-22 21:30:53 +00:00
Mark de Wever
c25ba39a89 Update todo list. 2009-03-21 10:49:46 +00:00
Mark de Wever
81a54f4199 Remove the Python support files. 2009-03-21 10:00:04 +00:00
Mark de Wever
37c970f53e Remove a no longer needed cmake policy. 2009-03-21 08:37:01 +00:00
Mark de Wever
1e808b7edd Add a special target for pot-updates. 2009-03-21 07:47:46 +00:00
Mark de Wever
4a3eaa1065 Bump the minimum cmake version to 2.6.0. 2009-03-20 19:59:51 +00:00
Nils Kneuper
77fa8cd7c2 fontconfig and pangocairo are *only* required for building the game,
...not for the server and the rest...
2009-03-19 23:18:29 +00:00
Mark de Wever
0f278988a4 Reduce the fontconfig dependency to 2.4.1.
On the forum there has been a report[1] that 2.4.1 also works so lower the
dependency.

[1] http://www.wesnoth.org/forum/viewtopic.php?f=4&t=24456
2009-03-13 17:49:38 +00:00
Nils Kneuper
b138311480 (most likely) fix detecting fribidi as found...
...though the wrong version is found when using cmake, now, as in
autotools and scons build, only "version 1" is accepted
2009-03-03 00:04:00 +00:00
Nils Kneuper
f37e79f050 output binary files after building in "dir where cmake was run"...
...and no longer in "dir where cmake was run"/src (as requested by Dragonking)

turn fribidi off by default since the detection for "you got fribidi
2?" seems to not work as expected
2009-02-28 16:44:37 +00:00
Eric S. Raymond
d3ae65b0fa stikonas's fix for bug #13051. 2009-02-27 16:20:37 +00:00
Daniel Franke
d2d21276a2 Remove Python AI, resolving bug #13047 and #13048. 2009-02-23 07:05:50 +00:00
Mark de Wever
8e1c7a1236 Add the low mem option. 2009-02-22 12:59:07 +00:00
Sergey Popov
09551c71b1 Apply a patch for cmake script by stikonas.
remove obsolete option for dummy locales and build them only if
localedef is detected.
2009-01-23 12:37:29 +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
Nils Kneuper
6a3e3815d2 add option to disable custom pool alloc in cmake recipe
deactivating the custom malloc seems to also fix some crashes...
2008-12-26 09:01:31 +00:00
Nils Kneuper
fcd0e6c7a9 a little better way to get the sdl define in,
...not perfect, but probably working
2008-12-24 11:11:03 +00:00
Nils Kneuper
5474e2625f make the new memory allocator...
...(or whatever else caused the game to freeze at showing the
mainscreen) work with cmake, too

in all other build systems this define was set due to sdl-config,
might require an explicit addition, just to be sure
2008-12-24 10:48:57 +00:00
Nils Kneuper
a1c2d9d281 allow disabling building the editor via cmake again 2008-10-04 19:39:11 +00:00
Nils Kneuper
e0d763b041 some more cleanup of the old editor cruft 2008-10-04 18:33:01 +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
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
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
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
Mark de Wever
775838a379 Load our own fonts for the new widgets. 2008-09-03 15:46:41 +00:00
Pauli Nieminen
d6efbabced Fixed dummylocales to work from svn tree 2008-08-23 16:08:20 +00:00
Pauli Nieminen
a5ed42c1dd Broken dummylocales runtime configuration implementation. installation fails 2008-08-20 13:55:07 +00:00
Tomasz Śniatowski
c19943c2ba Make editor2 options on by default in the build systems 2008-08-15 19:11:11 +01: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
Nils Kneuper
0ce483891c set gettext to "required" since it really is... 2008-07-14 19:26:59 +00:00
Nils Kneuper
14ea12f732 use the CMAKE_MODULE_PATH...
...when the folder with our own cmake files is referenced
2008-07-14 17:46:42 +00:00
Nils Kneuper
a1f1f50ff6 add (pkgconfig based) check for pangocairo 2008-07-13 10:46:56 +00:00
Tomasz Śniatowski
0638b21478 add "EXPERIMENTAL" warning near editor2 options 2008-07-04 00:34:22 +01:00
Sergey Popov
6f125a627e Added a TODO item to CMakeLists.txt 2008-06-18 20:27:37 +00:00
Nils Kneuper
badacfd16d typo fix 2008-06-18 20:11:34 +00:00
Nils Kneuper
d299b4dd29 added -D_X11 if X11 headers are found to allow copy&paste 2008-06-18 20:02:26 +00:00
Nils Kneuper
03eeb31061 really allow building EDITOR2 now... 2008-06-18 19:20:18 +00:00
Nils Kneuper
2b285a5af2 add building of EDITOR2 to cmake recipe 2008-06-18 19:06:09 +00:00
Bruno Wolff III
755e47c928 Update cmake status comments. 2008-05-18 13:53:40 +00:00
Moritz Göbelbecker
c614908ceb Set minimum required CMake verseion to 2.4.6 2008-05-15 16:40:36 +00:00
Moritz Göbelbecker
dca4689efe Cleanup root-CMakeLists.txt a bit. 2008-05-15 14:56:38 +00:00