Commit graph

199 commits

Author SHA1 Message Date
Gunter Labes
9cb4ac3386 fixed a typo 2009-07-07 08:42:42 +00:00
Mark de Wever
2d5f497b7e Define relative dir with a value like autotools. 2009-06-05 17:44:34 +00:00
Mark de Wever
374acd189f Add the debug layout option to cmake. 2009-05-27 19:08:57 +00:00
Mark de Wever
c9b761ade0 Let cmake also use the environment variables.
It now uses CXXFLAGS and CFLAGS like autotools.
2009-05-20 17:13:49 +00:00
Mark de Wever
000eb0d7bb Add strict compilation to cmake. 2009-05-19 18:17:12 +00:00
Mark de Wever
0dc32aabc3 Make the CXX FLAGS stricter like automake. 2009-04-25 17:43:32 +00:00
Nils Kneuper
024dfe079a categories= in cmake modified .desktop files were broken,
...a clean fix has to be done later...
2009-04-14 09:14:17 +00:00
Mark de Wever
f8ce5aef8b Fix a MSVC cmake compiler issue.
The escaping of the defines now also works for MSVC, tested by Reisiger.
2009-04-13 14:41:42 +00:00
Mark de Wever
4006de8ea5 Fix a MSVC cmake compiler issue.
sdl-config is not available for MSVC, tested by Reisiger.
2009-04-13 14:41:32 +00:00
Mark de Wever
7d35a0bf81 Make the dummy locales a target. 2009-04-12 15:45:24 +00:00
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