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
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
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
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
Frederic Bouvier
c21ba6cb20
Cmake: restore its original name to the ephemeris library
2011-01-23 21:07:24 +01:00
Frederic Bouvier
39ecaf0ca8
Cmake: use debug version of plib when building in debug mode
2011-01-08 15:17:49 +01:00
Frederic Bouvier
311925ecb4
Cmake: use debug version of simgear when building in debug mode
2011-01-08 15:02:30 +01:00
Frederic Bouvier
4b873d974e
Cmake: remove debugging message
2011-01-03 19:01:39 +01:00
Frederic Bouvier
c8bdf8c198
Cmake: fix SimGear version check for MSVC
2011-01-03 18:58:15 +01:00
James Turner
2b5f50e856
WIN32/MSVC fixes from Olaf Flebbe
2010-12-27 12:44:17 +00:00
James Turner
3f00b27926
Fix link ordering to keep GNU ld happy.
2010-12-19 09:03:35 -08:00
James Turner
a91ec5f9f9
Initial work on CMake build files, with considerable help from Olaf Flebbe.
2010-12-19 15:06:04 +00:00