Scott Giese
1e40006f06
'using' statement are for source files, not header files
...
using-declarations are okay in headers (i.e. aliasing)
2022-01-15 01:48:01 -06:00
Scott Giese
7b914bc5fb
Removed unreachable code
2020-08-29 11:20:40 -05:00
James Turner
47ff3e9f67
Improve CMake strucutre
2020-08-23 11:31:37 +01:00
gallaert
c6124b5c5a
Replace boost::enable_if/disable_if/enable_if_c/disable_if_c by std::enable_if
2020-04-22 14:05:47 +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
Edward d'Auvergne
34a6cb3c74
SGSubsystem classes: Registration of all subsystems.
2019-07-01 14:51:32 +02:00
Edward d'Auvergne
d259c70560
SGSubsystem classes: Addition of staticSubsystemClassId() to all subsystems.
2019-07-01 14:51:32 +02:00
Edward d'Auvergne
7a6e63ddb9
SGSubsystem classes: Subsystem and subsystem group API declaration standardisation.
...
This is a cleanup commit.
2019-07-01 14:27:30 +02:00
Edward d'Auvergne
60a2444766
SGSubsystem classes: Whitespace standardisation of the declarations.
...
This is a clean up commit prior to the subsystem API standardisation to simplify
the diffs. It includes all SGSubsystem and SGSubsystemGroup derived classes.
2019-07-01 14:27:28 +02: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
Erik Hofman
52f5d19ac5
Windows also needs dirent.h
2017-01-07 14:16:58 +01:00
Erik Hofman
167a6ec031
MSVC fix
2017-01-07 11:19:43 +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
James Turner
6d0c2070fd
Use future-proof SGPath APIs.
...
Remove uses of .str(), .c_str() and some other methods of SGPath.
Pass SGPath directly where possible, or explicitly convert to the
appropriate 8-bit encoding.
2016-06-28 10:08:38 +01:00
James Turner
16814800ce
Use Paths instead of strings.
2016-06-22 17:36:05 +01:00
James Turner
0da1fc574d
VS2015 compatability fixes.
2016-06-01 22:58:03 +01:00
ThorstenB
ec739a17c2
Fix compiler warning
...
(access beyond array bounds)
2012-07-17 19:32:05 +02:00
ThorstenB
e59fabaf82
Clean-up some SGMath dependencies.
2012-05-05 00:56:29 +02:00
ThorstenB
3fb41e2168
It does. :)
2012-03-03 21:40:40 +01:00
ThorstenB
b70055a9a2
fgpanel: use same default fgdata path as fgfs
...
Use location configured at compile-time (Linux) or use run-time check (Mac)
(copied from fgfs/options.cxx).
2012-01-25 17:37:14 +01:00
Olaf Flebbe
0eda5eee81
virtual destructor missing (in order to silence llvm warning)
2012-01-09 21:07:18 +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
a05ea36acb
Restructure GUI code, isolate PLIB in source files, to ease future refactoring and alternative GUI layers.
2011-11-19 20:25:51 +00:00
Frederic Bouvier
b5a0da1c6e
std namespace missing everywhere in fgpanel
2011-11-14 08:31:00 +01:00
ThorstenB
05eade445e
fgpanel: avoid lagging
...
Avoid lagging when data is sent at (slightly) higher rate than
fgpanel's display rate. Always read all available data - display
most recent.
2011-11-12 11:24:08 +01:00
Mathias Froehlich
d1e5dc95ca
Remove automake ignores.
2011-11-01 13:53:52 +01:00
James Turner
70b4f38ebc
Goodbye automake.
2011-11-01 11:15:53 +00:00
Torsten Dreyer
b8cbaa9716
fgpanel: don't call nonexisting list
...
obviously something other was intended here.
2011-10-27 08:31:24 +02:00
James Turner
76c388f7cb
Minor CMake packaging tweaks, more to follow.
2011-10-18 12:14:20 +01:00
James Turner
b1b4b7ecf4
Fix (nearly) all the std:: namespace violations in headers, in preparation for fixing SGsmplstat.hxx to *not* do a 'using namespace std'.
2011-10-17 17:41:59 +01:00
Frederic Bouvier
c92bc96ff8
Fix win32 fgpanel build
2011-10-08 13:41:32 +02:00
ThorstenB
32a49cb689
fgpanel: improved path handling
...
- Allow relative paths for panels.
- Set FGROOT as resource manager base path, so absolute
XML includes can be resolved
2011-10-08 11:28:28 +02:00
ThorstenB
be720b424a
fgpanel: fixed some error handling/setup issues
...
- Provide error message when fgdata path is missing.
- Exit game mode when closing/aborting program (show mouse cursor etc).
- Support absolute paths for "--panel" parameter.
- Don't crash when a font is missing.
2011-09-30 22:20:00 +02:00
Mathias Froehlich
3bf8b9d91f
automake: Add missing GL and z libs to fgpanel.
2011-09-24 10:03:00 +02:00
Torsten Dreyer
f9d35d3bf5
Add -lsgthreads to fgpanel's automake
2011-09-20 16:03:32 +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
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