James Turner
043355b5a7
Curl is required for SimGear now.
2016-05-07 10:23:02 +01:00
James Turner
2328f7fbdb
Handle libCurl linkage when enabled in SimGear
...
Detect if SimGear was built with Curl support,
and if so, find and link against libCurl
2015-11-26 23:40:14 +00:00
Thomas Geymayer
a948f68960
CMake: add UTF8-CPP to SimGear include directories.
2014-07-30 12:47:33 +02:00
James Turner
29bc895f0b
Fix fgelev linkage on Mac.
2014-01-29 16:39:10 +00:00
Clément de l'Hamaide
af5ae8b5b1
Make cmake happy (from Christian Schmitt commit - terragear)
2013-12-25 13:49:41 +01:00
James Turner
97d89a0c47
Remove all references to libsvn from build.
2013-09-28 14:15:47 +01:00
Thomas Geymayer
4bcf209dc8
Fix Mac build for tools (fgjs, etc.)
2013-06-21 20:52:16 +02:00
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
eb44003309
SimGear now includes ShivaVG
2012-11-04 20:02:20 +01:00
Thomas Geymayer
28779e7a51
Update for new simgear Canvas system.
...
A refactored version of the Canvas system can now be found in
SimGear.
2012-11-04 14:18:31 +01:00
James Turner
6f5afd9be7
Fix case-sensitivity typo
2012-09-14 17:21:51 +01:00
James Turner
29e8307e3f
Update FindSimGear for simplified lib names.
2012-09-16 16:07:53 +01: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
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
James Turner
c4cfd9cb7a
Simgear 'route' code is unused now.
2012-05-12 00:42:06 +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
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