ThorstenB
3b6436bfb8
#946 : some libraries not found on Ubuntu/Debian
...
Ubuntu/Debian introduced "multiarch" library directories, which is
unsupported by CMake <= 2.8.10. Add manual search paths as a workaround.
Currently it is only needed for libsvn, but it is needed for any lib
which is converted to the new directory standard.
2012-12-01 11:01:25 +01:00
Thomas Geymayer
82884ab3c6
Improve finding gperftools and disable profiling by default (even with gperftools installed)
2012-11-19 13:11:03 +01:00
Thomas Geymayer
779a9ae415
Really make profiling commands optional
2012-11-15 13:56:31 +01:00
Thomas Geymayer
fe1222a90d
Optional profiling commands using gperftools
2012-11-15 11:55:37 +01:00
ThorstenB
d94dd2013a
#893 : add missing docs for cmake build option. Thanks to koubiwan.
...
SIMGEAR_SHARED actually worked for FG, but the option wasn't visible in
cmake-gui.
2012-10-04 20:57:35 +02:00
ThorstenB
293d6b3565
Fix compilation with enabled EVENT_INPUT
...
Need to move the definition to the toplevel cmake file, since sources
are no longer compiled on directory level (individual libs per dir).
2012-09-22 14:23:15 +02:00
ThorstenB
acb7fb8e95
Fix shared library build with sqlite
...
Dependency to threading lib is required (It is already provided for
static SimGear).
2012-09-22 14:23:14 +02:00
James Turner
50c61b4211
Allow use of the system's SQLite3 library.
...
Keep distro packagers happy by having the option to use the system's sqlite library instead of our bundled version. Set SYSTEM_SQLITE=1 when running cmake to use the system one.
2012-09-19 14:28:25 +01:00
Frederic Bouvier
bceb942ffa
Support MS VS2012
2012-09-03 17:34:01 +02:00
ThorstenB
7a0db802d2
Improve error message when SimGear headers are missing/incomplete.
...
Also avoid CMake errors when files are missing.
2012-08-26 15:28:51 +02:00
James Turner
c06ab52c55
KIll off ALUT now it's gone from SimGear
2012-08-22 00:10:00 +01:00
ThorstenB
59fe04f8e9
Make web browser app configurable through CMake (for Linux)
...
so package builders don't need local patches.
Also, instead of hardcoded firefox, use "xdg-open" or "sensible-browser"
launchers on Linux, to auto-detect user's preferred browser.
Override with cmake switch -DWEB_BROWSER=...
(Not affecting Mac/Win which are hard-coded anyway).
2012-08-18 14:11:31 +02:00
ThorstenB
9c87aeb1fc
Add cmake Linux distro detection.
2012-08-18 13:40:57 +02:00
ThorstenB
c15af10a7d
CMakeList clean-up.
...
Split into modules for readability.
2012-08-18 13:40:08 +02:00
ThorstenB
f563bea192
Add warning for in-source-directory builds.
2012-07-17 19:19:17 +02:00
James Turner
77cd7b39f7
Since we require OSG 3.0 now, this check is obsolete.
2012-05-15 23:10:53 +01:00
Frederic Bouvier
acadbdeee1
Avoid the dependency on Boost serialization library
2012-05-12 17:20:28 +02:00
Frederic Bouvier
6b008126b5
Begin to implement configurable rendering pipeline
2012-05-12 13:45:31 +02:00
ThorstenB
3d45a2e5a2
Fix C compiler warning.
...
"no-overloaded-virtual" warnings are a CXX-compiler feature
2012-05-05 09:42:25 +02:00
ThorstenB
73d2d3425f
Don't install fg/READMEs
...
which only contain *build instructions* - so they are not useful *after*
installing binaries. User documentation (which should be installed) is in
fgdata/Docs.
2012-04-22 13:46:06 +02:00
ThorstenB
efa18fae1e
Add CMake option to disable building test applications.
2012-04-08 18:49:11 +02:00
James Turner
54d026e64f
Suppress a warning when using Clang.
2012-03-25 18:46:50 +01:00
ThorstenB
60ffb950e2
Consistent white-spacing...
2012-03-12 21:18:37 +01:00
ThorstenB
f453523b67
#706 : Properly set FLTK include directory.
2012-03-12 21:15:05 +01:00
ThorstenB
5f6012802f
Use existing define to supply version number.
2012-01-31 21:42:37 +01:00
ThorstenB
3100da1602
Fix "make package_source" target.
...
Hopefully fixes the Jenkins release builds...
Also use bz2 compression only - same as for simgear.
2012-01-17 23:29:16 +01:00
Torsten Dreyer
3bfee87bba
bump version number to 2.7.0
2012-01-17 08:36:20 +01:00
Torsten Dreyer
979fc9785b
bump version number to 2.6.0
2012-01-17 07:46:52 +01:00
ThorstenB
476a96dacf
Fix copy&paste issue in previous commit... *yuk*
2012-01-03 22:10:56 +01:00
ThorstenB
77640e0863
cmake: Fix Xinerama and Xft dependency issue.
...
Don't try to add Xinerama/Xft libraries, unless these are installed.
It seems these libraries are also not required on all systems (not required
over here...).
2012-01-03 22:02:48 +01:00
ThorstenB
e563e07d5a
Fix Hudson (Jenkins!) BUILD_ID check.
2011-12-28 12:24:22 +01:00
Frederic Bouvier
dc95e5e84b
Try to take care of FLTK external dependencies on Linux
2011-12-18 16:18:46 +01:00
ThorstenB
37453e6b7c
#525 related: add compiler search path for every library
...
Consider search path for every single library as reported/found by CMake.
Most includes sit in the same directory (so the same directory is reported
for almost all libraries), however this may not be the case for every
system or library.
2011-12-18 12:40:34 +01:00
ThorstenB
9933a7cb4a
cmake: add support for Torsten's UDev EventInput
...
(Hopefully meeting Torsten's quality expectations)
2011-12-04 14:37:25 +01:00
ThorstenB
4845037bd7
Fix build with CMake 2.6.4
...
Set search path early enough, so fallback module for CMake 2.6 is found.
2011-11-30 23:33:03 +01:00
ThorstenB
f356854712
Set correct installation folder for documentation
...
Also fix build when ".gitignore" is absent (i.e. building a
cleaned tar-ball).
2011-11-30 19:56:44 +01:00
ThorstenB
b54defea52
cmake: fix sequence of (static) library dependencies
...
sgmath depends on sgprops, sgprops depends on sgstructure.
Also, core libraries are enough for fgadmin.
2011-11-26 16:41:35 +01:00
James Turner
ebfdebeb43
Cocoa menu-bar implementation.
2011-11-20 16:26:05 +00:00
Erik Hofman
269595a366
Merge branch 'next' of git://gitorious.org/fg/flightgear into next
2011-11-20 10:29:23 +01:00
Erik Hofman
5381aafe6d
Read CPACK ignore files from .gitignore
2011-11-20 10:28:20 +01:00
Csaba Halasz
81bb67bc24
build fix: remove extra ) introduced by commit f99e310e
2011-11-06 15:55:06 +01:00
James Turner
f99e310e03
From Roland Häder - fix JPEG-server check when SimGear and OSG live at different prefixes.
2011-11-06 10:51:02 +00:00
James Turner
a4a8d08392
JPEG-server support, in the CMake world.
2011-11-05 17:11:39 +00:00
James Turner
23ae77cedf
CMake support for man page generation
2011-11-04 09:38:07 +00:00
James Turner
4b8ef9c3cf
Add compile-time support for a custom fg-root location, when using CMake
2011-11-01 17:05:54 +00:00
James Turner
e819a4aaa4
Make all FDMs selectable at runtime; default LARCsim/UIUC to off.
2011-11-01 16:21:59 +00:00
James Turner
6ddc8e3390
source packaging for CPack
2011-10-22 16:07:09 +01:00
Frederic Bouvier
90b67e5fd5
Fix win32 cmake build of metar
2011-10-21 14:36:04 +02:00
James Turner
76c388f7cb
Minor CMake packaging tweaks, more to follow.
2011-10-18 12:14:20 +01:00
James Turner
6adb42078e
Refactor fg-home computation, use Library/Application Support on Mac.
2011-10-16 19:55:04 +01:00
James Turner
ab238a1161
Make the common case the default: no library suffix for RelWithDbg or MinSizeRel builds. Of course you can still specify a suffix if desired.
2011-09-26 13:33:06 +01:00
James Turner
16a424ae90
Disable event-input by default on Linux, since libHAL is causing build/deployment issues on some Linux distributions.
2011-09-26 09:56:29 +01:00
James Turner
3a75732488
If DBus is not found, disable event-input on Linux.
2011-09-21 18:00:57 +01:00
James Turner
7dd8f00c42
Enable event-input for joysticks by default on Mac + Linux, in Cmake.
2011-09-21 17:13:13 +01:00
Frederic Bouvier
14fb839c44
Auto detect 3rd Party root for Windows
2011-09-12 11:07:31 +02:00
Mathias Froehlich
81b125069b
cmake: Use a default build type that builds fast executables.
2011-09-12 08:10:48 +02:00
Frederic Bouvier
7a83db28c6
Lower the requirements on Cmake version (at least until Jenkins is updated)
2011-09-11 21:44:43 +02:00
Frederic Bouvier
57754b4ac8
Enforce the use of Cmake 2.8
2011-09-11 20:50:37 +02:00
Mathias Froehlich
549c5eccb9
cmake: Factor out common simgear dependency libs.
...
Factor out and use this core simgear depenency
library cmake variable.
2011-09-11 11:22:10 +02:00
James Turner
a5a8090d52
Cmake: Split simgear libraries into core and scene (only scene uses OSG). Fix linkage issues, and make helper binaries (yasim, terrasync) link against less stuff.
2011-09-08 13:59:40 +01:00
Martin Spott
065f4ee5cb
Make HLA configurable.
...
Permit un-breaking of FlightGear CMake builds on setups with a working HLA
RTI installed, accommodating with recent changes to SimGear CMake.
2011-09-05 20:25:30 +02:00
ThorstenB
c4dc12ec94
Improved CMake support for libsvn
...
Don't detect libsvn without APR.
When installed, enable libsvn support by default (same as for automake).
When enabled, provide libsvn to fgfs.
gitignore temporary CMake files
2011-08-04 18:59:46 +02:00
Torsten Dreyer
dcde3a9350
Try to fix cmake build for fgpanel without GLUT
2011-07-21 23:42:45 +02:00
Torsten Dreyer
8f0f67f668
Enable build of fgpanel by default in cmake
2011-07-21 15:46:29 +02:00
Torsten Dreyer
c238f86637
Bump to version 2.5.0
2011-07-17 11:07:07 +02:00
Torsten Dreyer
172c635f03
Bump version to 2.4.0
2011-07-17 10:47:27 +02:00
ThorstenB
826784eb18
Martin Spott: Add CMake DBus support for event driven input.
...
Tested on Linux only, please improve if you see fit.
2011-06-13 00:45:40 +02:00
ThorstenB
7d92bd3a1a
Martin Spott: fixed sh-like variable in CMakeLists.txt
2011-06-12 15:17:03 +02:00
ThorstenB
ee40e8ae3f
Introduce terrasync subsystem.
...
Fix tile reloading issue.
2011-06-12 00:44:07 +02:00
Torsten Dreyer
2d0d434ffa
cmake: check for SimGear 2.3.0
2011-06-05 21:38:44 +02:00
James Turner
b0985c6b02
Fix for bug 331, cmake was missing mkfifo() check. Thanks to Olaf Flebbe for the catch!
2011-06-02 23:01:17 +01:00
Frederic Bouvier
0baa517b33
Cmake: fix VS2010 link
2011-01-28 15:15:20 +01:00
Frederic Bouvier
ede9a03d07
Cmake: support VS2010 and MSVC 64 bit
2011-01-28 14:57:32 +01:00
Mathias Froehlich
3134acca83
Add the hla stuff to the cmake build system.
2011-01-17 21:35:12 +01:00
Frederic Bouvier
d0a2fbba99
Revert joystick patch. One would have to provide a better one
2011-01-14 22:37:39 +01:00
Frederic Bouvier
4d0a6f5668
Olaf Flebbe: incorporate plib js code to fix problems with MS joysticks under Vista and 7
2011-01-14 21:32:59 +01:00
James Turner
73959885b9
Linux link fixes from Olaf Flebbe
2011-01-13 22:13:58 +00:00
James Turner
5deec69e00
First attempt at libsvn support in terrasync with CMake
...
- not yet working!
2011-01-09 00:15:29 +00:00
James Turner
45d33ef60c
Make fgadmin optional (and hence, the FLTK dependency)
...
Also bump SimGear version to 2.2.0
2011-01-06 16:56:07 +00:00
Frederic Bouvier
402982f901
Cmake: add more utilities to the build system
2011-01-05 17:19:42 +01:00
Frederic Bouvier
670fa26f7e
Cmake: more windows tweaks
2011-01-03 22:47:11 +01:00
Frederic Bouvier
f032943f46
Cmake: add probable location of SimGear
2011-01-03 18:57:08 +01:00
Frederic Bouvier
1028e54cb1
Cmake: MSVC_3RDPARTY_DIR is a path, not an option
2011-01-03 11:37:59 +01:00
James Turner
6d3773cb40
Olaf Flebbe: Removed Boost serialization linkage on MSVC
2011-01-03 09:50:05 +00:00
James Turner
4428b7358c
Fixed CMake version.h, config.h creation
2011-01-01 21:46:16 +00:00
James Turner
61c88af564
CMake: Windows PLIB fixes from Olaf Flebbe.
2011-01-01 21:22:37 +00:00
James Turner
4d1d215ded
version.h support in CMake builds.
2011-01-01 18:24:53 +00:00
Dave Luff
9aa53cb6ab
Remove the cmake ATCDCL conditional switch
...
This was missed from the previous commit, which was only tested
using the autotools.
2010-12-29 17:51:51 +00:00
James Turner
e8500b3f2d
Uninstall rule, pinched from OSG
2010-12-28 13:43:14 +00:00
James Turner
2b5f50e856
WIN32/MSVC fixes from Olaf Flebbe
2010-12-27 12:44:17 +00:00
Tim Moore
958a28b97f
cmake changes for osg::CullSettings::ClearMask and Fedora
...
HAVE_CULLSETTINGS_CLEAR_MASK was not set, so a program to test
CLEAR_MASK was added. The Posix timer function clock_gettime is in
librt on Fedora, and probably on other systems too.
2010-12-26 00:44:02 +01:00
James Turner
7720c9d89e
Another link-ordering fix for CMake, discovered by papillion.
2010-12-22 19:51:17 +00:00
James Turner
a91ec5f9f9
Initial work on CMake build files, with considerable help from Olaf Flebbe.
2010-12-19 15:06:04 +00:00