James Turner
29e8307e3f
Update FindSimGear for simplified lib names.
2012-09-16 16:07:53 +01:00
ThorstenB
7c01632b00
Fix libsvn detection for some Linux distros
...
Distros like Debian/Ubuntu use architecture-specific directory structures
(like /usr/lib/x86_64-linux-gnu) which we cannot hardcode/guess, so we
really need to search the default paths.
2012-09-03 23:52:32 +02:00
Frederic Bouvier
bceb942ffa
Support MS VS2012
2012-09-03 17:34:01 +02:00
Frederic Bouvier
0608367257
Try to discover the most recent Boost version installed in MSVC_ROOT (Windows only)
2012-09-02 12:44:51 +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
Christian Schmitt
f001c5f9fe
DetectDistro.cmake: Correct the lsb_release name
2012-08-26 11:55:45 +02:00
Mathias Froehlich
e3ad3d3a07
bvh: Adapt to upstream bvh changes in simgear.
2012-08-24 21:24:12 +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
Frederic Bouvier
62ca9183a7
Trying to restore auto-detection of SVN libs on Windows
2012-08-13 23:20:20 +02:00
Frederic Bouvier
1666ea8286
Restore auto-detection of SVN libs on Windows
2012-08-13 22:16:17 +02:00
James Turner
9c2d01189e
Enable subversion lib packaging on Mac
2012-08-11 15:23:17 +01:00
James Turner
3f2d371294
Use system FindPackageHandleStandardArgs macro, no need to distribute it.
2012-06-21 10:23:57 +02:00
James Turner
ffa46f686d
Improve ALUT framework detection (for Mac)
...
Latest Xcode no longer searches /Library/Frameworks by default which exposed an issue here. Search for the header by the correct name to trigger special -F handling in cmake.
2012-06-20 19:45:12 +02:00
James Turner
c4cfd9cb7a
Simgear 'route' code is unused now.
2012-05-12 00:42:06 +01:00
James Turner
55105baa25
PUI doesn't use SSG (and never has). Ooops.
2012-03-28 09:37:58 +01:00
James Turner
a38362646d
Don't create intermediate static libraries for build fgfs. (Speeds up rebuilds in Xcode dramatically, possible in other IDEs too)
2012-03-26 13:09:39 +01:00
ThorstenB
ecb2e77e5b
Fix Windows dependencies
...
SimgGear always needs "winmm" on Windows (due to timeGetTime in sgtimestamp.cxx)
2012-02-25 01:05:39 +01:00
ThorstenB
da73dd97d3
Clean-up cmake (linker) dependencies.
2012-02-24 22:23:15 +01:00
ThorstenB
572847b4cd
#537 linker issues due to clock_gettime/librt dependencies
...
Simplify dependency check and make it work for Debian.
2012-02-24 22:22:14 +01:00
ThorstenB
0ba48793ea
Disable OSG dependencies to osg/Vec2 for simgear compile test.
2012-02-19 22:12:52 +01:00
ThorstenB
f589f2c405
More talkative cmake SimGear checks
...
Give details whether includes or libraries are missing,
or if (and how) the version mismatches.
Also require an exact simgear/flightgear version match.
2012-02-19 20:20:12 +01:00
ThorstenB
ac841ac44f
Terrasync clean-up
...
Avoid code duplication, only UDP processing and
NMEA message parsing remains.
2012-02-19 14:53:04 +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
James Turner
cdc65753f0
Refactor SimGear detection to correctly select debug vs release builds in shared library mode.
2011-11-30 19:19:49 +00:00
James Turner
f054f15693
Fixes for linking with shared SimGear.
2011-11-29 10:24:33 +00:00
James Turner
62810e3f9a
Re-structure the SimGear detection, to bypass shared-library checks by default (and unless explicitly requested). Should fix the confusion in the GUI tools about the type of SIMGEAR_LIBRARIES (i.e it should be a list, not a path).
2011-11-28 18:23:34 +00: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
ThorstenB
90c5c9f87a
cmake: lib vs lib64 handling for simgear
...
simgear now always uses CMAKE_INSTALL_LIBDIR for lib installation, so
also use that when searching.
2011-11-25 15:31:22 +01:00
ThorstenB
1a28a933ba
Add missing file... (yikes!)
...
What's wrong with "rename" these days...
2011-11-25 12:14:57 +01:00
ThorstenB
3027424e3e
cmake: rename script to avoid downgrading
...
Use local copy of cmake script only for older cmake versions
2011-11-25 12:12:38 +01:00
James Turner
56bebe2a9b
Add GNU install dirs helper to local modules, since it's only available with very newest CMake releases.
2011-11-04 11:08:00 +00:00
Mathias Froehlich
633b07dedc
cmake: clear the svn libraries variable if not found.
2011-09-14 09:57:57 +02:00
Frederic Bouvier
587895bf2b
Typo
2011-09-12 12:20:22 +02:00
Frederic Bouvier
8a63b26c42
Attempt to make FindSvnClient.cmake portable
2011-09-12 12:14:08 +02:00
Frederic Bouvier
d3d358bdbd
Don't try to find winmm
2011-09-12 11:08:32 +02:00
Frederic Bouvier
918202a1ae
Fix SVN detection for Windows
2011-09-12 11:08:02 +02:00
Mathias Froehlich
c5b22d248e
cmake: Quote argument in FindSvnClient.cmake.
2011-09-11 12:42:59 +02:00
Mathias Froehlich
f4b45eca7e
cmake: Use ws2_32.lib instead of the WINSOCK_LIBRARY variable.
...
Fixup for commit 549c5eccb9
.
Do not refer to the no longer existing WINSOCK_LIBRARY variable.
Instead, at this single place where it is used, just use ws2_32.lib.
2011-09-11 12:17:20 +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
Mathias Froehlich
6b6238293f
Revert to simgears thread support. Flightgear side.
...
For all source directories outside of simgear/scene,
which really depends very hard on osg, avoid using osg
classes. This should reenable the use of some basic and
scenegraph independent parts of simgear without the
the need for osg.
2011-09-06 07:31:12 +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
James Turner
7abf7c5748
CMake header support for XCode/Visual Studio
2011-07-19 07:58:03 +01:00
ThorstenB
ba471db647
Martin Spott: CMake DBus module, credit goes to the KDE project
...
from whom the file was copied.
2011-06-13 00:44:22 +02:00
Mathias Froehlich
2d723d0e13
Fix linking with -lsgtsync with cmake.
2011-06-12 08:29:49 +02:00
Torsten Dreyer
b7656b5275
Change SimGear library order for fgadmin
2011-06-08 16:02:07 +02:00
Tim Moore
9c98258ab0
Merge branch 'releases/2.2.0' into next
...
Conflicts:
CMakeModules/FindSvnClient.cmake
src/FDM/JSBSim/JSBSim.cxx
2011-02-15 13:26:24 +01:00