Anonymissimus
23eb9861be
exclude LUA_USE_POSIX define from MSVC project file generator
2011-06-13 23:32:16 +00:00
Mark de Wever
ff2f64c59f
Use a better way for mkstemp.
2011-06-13 17:24:14 +00:00
Mark de Wever
5f7ad19888
Let Lua use mkstemp' instead of
tmpnam'.
...
It also fixes a linker warning.
2011-06-13 15:58:19 +00:00
Anonymissimus
e25b0ce62d
mute more MSVC warnings in the MSVC+cmake build system...
...
...by adding defines
-D_SCL_SECURE_NO_WARNINGS and
-D_CRT_SECURE_NO_WARNINGS
2011-06-02 19:56:51 +00:00
Lukasz Dobrogowski
91435494d8
Created new command_options object,
...
...which will be responsible for commandline parsing. Introduces
Boost.Program_options dependency.
2011-05-29 17:31:07 +00:00
Mark de Wever
6e49fbb15d
Add some support for the clang compiler.
...
It fails to link some standard libraries.
Forcing files to be C++ files doesn't set the proper compiler switches
for clang.
Tested with clang 2.9, there are still compilation errors to be sorted
out.
2011-04-25 07:19:25 +00:00
Mark de Wever
e398b69bf8
Fix a compilation error with cmake.
...
When the game is disabled from the command line the unit tests no
longer compiled. When using cmake normally the game is automatically
enabled and disabling it afterwards doesn't introduce the bug.
2011-04-25 07:19:22 +00:00
Nils Kneuper
fde02c868c
revert 2011-04-03T08:21:47Z!crazy-ivanovic@gmx.net to fix bug #17988 introduced by this very commit...
2011-04-03 09:43:12 +00:00
Nils Kneuper
5613b9fc8c
zaroth reported that there is a problem in the embedded lua code...
...
...that automatically results in a warning (and thus error) due to
this flag, so remove it.
2011-04-03 08:21:47 +00:00
Mark de Wever
a2c7ca056e
Add OpenMP support to cmake.
2011-03-05 21:17:36 +00:00
Mark de Wever
ff422edc9c
Remove the editor option.
...
This changes causes the editor to be always build. It also sorts the
file entries in the build systems.
loonycyborg please review the scons changes.
2011-02-19 12:25:05 +00:00
Mark de Wever
1f91733b39
Let cmake use absolute locale dirs.
...
This patch doesn't change the behaviour on Windows.
(Applies patch #2280 ).
2011-02-17 20:57:45 +00:00
Nils Kneuper
7ba9fa4e8a
"tiny gui support"-removal part 2:
...
remove tinygui specific stuff from CMake
TODO: remove tinygui from scons and data files
2011-02-12 16:24:56 +00:00
Mark de Wever
ea9ff40e58
Add a cmake target to build the design document.
2011-02-08 19:37:36 +00:00
Mark de Wever
7c3380c556
Link to libintl with cmake.
...
Applied the patch attached to bug #17152 .
2011-01-08 20:40:56 +00:00
Mark de Wever
14db2d8b01
Move pot-update dependencies in a separate file.
...
This allows to move the po4a update tools in the same file and keep the
dependencies better together.
2011-01-02 18:50:00 +00:00
Mark de Wever
3dc8cb92e8
Set the compiler mode to c++98.
...
It was ansi, which will change to c++0x at some point in the future. In
order to activate that as default by accident force the c++98 mode.
2010-08-27 20:34:58 +00:00
Mark de Wever
72bbd5e443
Update status
2010-07-31 07:11:24 +00:00
Mark de Wever
a1db53630e
Convert leading spaces to tabs.
2010-07-30 21:49:42 +00:00
Mark de Wever
6a082b676d
Some more consitency in the cmake files.
2010-07-30 21:49:36 +00:00
Nils Kneuper
9a19432e86
add lua support to the cmake recipe
...
@crab_, mordante, timotei, ...: please check that it really works as
expected (eg msvc builds!), looks good over here with plain
commandline builds
2010-07-30 13:22:34 +00:00
Guillermo Biset
dfd0f9a169
Switched back ana's compilation flag to ON in CMake.
2010-07-22 18:14:26 +00:00
Mark de Wever
1ea406c40c
ANA cmake cleanups.
...
- Set the option and dependency check in the top level file.
- Directly add the ana/src directoy avoiding two new options being pulled
in.
2010-07-11 16:50:51 +00:00
Mark de Wever
a43df5ac05
Set the proper flags for the cmake RELEASE build.
...
Gabba discovered the problem and added a fix in 2010-07-02T06:58:13Z!gabrielmorin@gmail.com. This
change has a better suppression by turning unused variables to
warnings instead of error.
2010-07-11 16:50:40 +00:00
Guillaume Melquiond
e6ab1f0c1a
Removed explicit disabling of compiler warning,
...
...as the current codebase compiles fine with it.
2010-05-26 20:19:07 +00:00
Mark de Wever
4cc313daf2
Fix compilation for g++ 4.5
2010-04-25 09:43:12 +00:00
Fabian Müller
4a7e27d070
Reverted back to 42095.
2010-04-10 17:30:45 +00:00
Alexander van Gessel
183c40ba5b
Merge fendrin_editor branch
2010-04-10 16:00:09 +01:00
Iurii Chernyi
8947448c0b
trick CMake into generating MSVC9 project files
2010-03-30 21:24:20 +00:00
Nils Kneuper
2bcb81afbc
change from mordante to make notifications work...
...
...in the cmake recipe as fribidi does:
if notifications are active (they by default now) check if required
stuff is available, warn if things are not there and don't compile
support it, compile things in if everything is there
2010-03-03 23:08:31 +00:00
Nils Kneuper
f99f2dee25
enable notifications by default in the cmake recipe, too
2010-03-03 10:21:55 +00:00
Jérémy Rosen
53105be56f
remove EXPERIMENTAL blocks in source
2010-02-22 20:08:38 +00:00
Mark de Wever
9c9c33fd8b
Make ENABLE_EXPERIMENTAL a config parameter.
2010-01-31 15:15:21 +00:00
Fabian Müller
7713168c57
Added a switch for the EXPERIMENTAL compile flag.
2010-01-26 10:24:34 +00:00
Mark de Wever
9089b486e7
Remove dummy locales for cmake.
2009-10-14 22:19:09 +00:00
Chusslove Illich
18dd3c5871
Localized image states are now checked at runtime,
...
...so that fuzzy localized images are not used if present.
This requires installing the l10n-track file as well.
2009-10-03 16:18:21 +00:00
Mark de Wever
243ee4ff51
Enable notifications with cmake.
2009-08-10 17:50:37 +00:00
Tomasz Śniatowski
1a934ac94b
rename editor2 -> editor. Old editor is long dead, long live the new editor!
2009-08-08 12:14:58 +01:00
Oron Peled
e35f199086
revised fribidi support:
...
* Updated to support both fribidi2 (>= 0.19.0) and old fribidi (>= 0.10.9)
* The cmake part was done by Mark with some fixes add by me.
* I tested on Fedora-11, Mark tested on Debian stable.
2009-08-01 18:28:18 +00:00
Iurii Chernyi
32ecb43aab
cmake: changed required boost version to 1.35
2009-08-01 14:37:08 +00:00
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