1
0
Fork 0
Commit graph

28 commits

Author SHA1 Message Date
James Turner
47ff3e9f67 Improve CMake strucutre 2020-08-23 11:31:37 +01:00
James Turner
9957d02687 Cmake: detect various packages quietly
For packages which are optional, check for them quietly, to avoid lots
of noise in our CMake output.
2020-04-09 14:00:19 +01:00
James Turner
36faef5ad9 FGPanel: Re-order dependency checks 2020-04-02 09:04:25 +01:00
James Turner
d0fd02fa8d FGPanel: update for Raspbian 10 2020-04-01 21:02:24 +01:00
gallaert
e78b92ca27 Update FGPanel:
- use OpenGL 2.0 instead of OpenGL 1.0;
- port to Raspberry Pi;
- remove PLib dependencies.
2020-04-01 20:58:59 +01:00
Scott Giese
7ef4fb50ec [fgpanel] resolve linking error with GLEW 2019-04-20 21:56:16 -05:00
Ganael Laplanche
43dab178c0 Use ${FREETYPE_INCLUDE_DIRS} instead of hardcoded path 2017-03-03 21:26:44 +00:00
Erik Hofman
f61293a935 Geoff McLane:
1. The variables  SIMGEAR_CORE_LIBRARIES and
SIMGEAR_CORE_LIBRARY_DEPENDENCIES are
no longer set... hence the need to hard-code 'SimGearCore'
in the target_link_libraries()

2. And -lfreetype means the linker must know the specific
link path to it, while the variable FREETYPE_LIBRARIES
contains the fully qualified path to the library.

3. Improved the 'found glut' message to show exactly what
was found, and being used... This is due to the user possibly
also have the near binary compatible glut32.lib found, which
will fail in the link due to some freeglut extensions have been
used.

4. Adding the define -DFREEGLUT_LIB_PRAGMAS=0  is
necessary to stop the freeglut headers from using a MSVC pragma
to declare the library, which will /not/ not be found...

5. In Windows the glew library is not -lGLEW, and even if it
was, it would not be found, without adding a link_directories(
path/to/library ),
while the GLEW_LIBRARIES variable has the fully qualified path.
2017-01-08 10:23:46 +01:00
James Turner
4c4fb1a6ac Make FGPanel dependency handling better 2016-12-21 10:24:40 +00:00
Erik Hofman
005d5fa766 Search for Glew and freetype 2016-12-17 12:46:54 +01:00
Erik Hofman
a10d3d8381 Add SimGearCore 2016-12-17 11:40:35 +01:00
gallaert
effca9da5e Update FGPanel:
- use OpenGL 2.0 instead of OpenGL 1.0;
- port to Raspberry Pi;
- remove PLib dependencies.
2016-12-16 19:35:44 +00:00
James Turner
e2f7585d9c Use a Cmake imported target for SimGear 2016-10-30 22:15:54 +00:00
Jeremy Bicha
25928bf614 Use CMAKE_INSTALL_BINDIR
Allow /bin install directory to be overriden. Debian for example uses this
to install FlightGear to /usr/games/ instead of /usr/bin/

https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
2016-07-09 18:52:58 -04:00
ThorstenB
3fb41e2168 It does. :) 2012-03-03 21:40:40 +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
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
76c388f7cb Minor CMake packaging tweaks, more to follow. 2011-10-18 12:14:20 +01: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
Frederic Bouvier
099bfd988b fgfs and fgpanel need to be linked with the winsock library (on Windows) 2011-09-09 21:38:02 +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
James Turner
ab96d0b966 Fix utilities linkage, add OpenThreads 2011-08-31 03:08:52 -07:00
Mathias Froehlich
e3e7fb5db5 Use cmake provided variable for librt. 2011-07-24 14:38:29 +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
3d36577a20 Make cmake for fgpanel work under linux 2011-06-05 21:08:44 +02:00
Torsten Dreyer
abc97adf2b Initial commit to add fgpanel to cmake build system
Most likely only works on OSX, other OSes will follow later
2011-06-05 17:04:41 +02:00