James Turner
309aaa794f
Flite always compiled now.
2019-06-03 16:51:08 +01:00
Lars Toenning
85acefab95
Swift: initial support
2019-04-11 11:36:22 +01:00
Fernando García Liñán
e042364dd0
Compositor framework initial commit.
2019-02-04 18:03:38 +01:00
James Turner
2329654e3b
Disabling translations is tricky.
2018-08-28 17:12:31 +01:00
James Turner
3f5a0a47ad
Improved build.h generation (each build)
...
Use a custom_target to recursively invoke Cmake at build time; this
ensures the build ID and Git revision are always up to date.
2018-08-19 16:06:16 +01:00
James Turner
d534a5ba36
Move build-ID variables to their own header
...
This is to reduce rebuilding by changing version.h needlessly, since
only a few places use the build ID info.
2018-08-12 11:18:50 -07:00
James Turner
102fe04e91
Import PLIB JS code into FlightGear
...
- will permit bug-fixing which cannot occur for
official PLIB.
2018-05-03 00:02:09 +01:00
Edward d'Auvergne
c9122ff84b
TestSuite: Converted the old tests/test-mktime.cxx program into a unit test.
...
This required many time related include files, functions, and variables to be
tested for via CMake, and converted to macros via #cmakedefine, so that they
would be automatically set for the test-mktime.cxx file.
2018-03-23 17:26:04 +01:00
James Turner
e920dc7509
Event input layer based on HID-Api
...
Thus runs in parallel to the existing implementation on Linux and Mac,
but can (soon) replace the Mac code and will run on Windows eventually.
2017-12-18 17:15:55 +00:00
James Turner
804dc4e74a
Steps to make PUI optional, HiDPI tolerant.
...
Move all PUI event and rendering into a custom camera, which can be
rendered via an FBO to account for display-resolution scaling (HiDPI).
Start wrapping PUI calls in #ifdefs so PUI can be disabled at compile
time; a run-time switch is trivial now but not implemented yet.
2017-10-20 12:10:51 +01:00
James Turner
58a7f2c5c2
Unit-test for initPosition.
...
Only basic, but can be expanded incrementally now
2017-03-27 15:38:05 +01:00
James Turner
9e122eaf81
Partial testing framework.
...
Compile a useful subset of FG as a shared library, and add two basic
uses of this to exercise some Flightplan / RoutePath / navaid
functions.
The test framework can/will be expanded incrementally from here, this
is just a starting point.
2017-03-25 15:35:26 +00:00
James Turner
3653508412
Build- and run-time concept of developer mode.
...
Make a single Cmake value to expose the build type to code, and use
this to default a run-time ‘developer-mode’ property, which can be
over-ridden from the command line.
Use this to drive the different warning levels. Policies subject to
review, especially whether nightly builds should default to
developer mode or not.
2017-02-27 23:37:59 +00:00
Erik Hofman
596ba557f1
Detect the absence of SSE2 hardware as soon as possible and bail out if it is not found but FligthGear is compiled with SSE2 support
2017-01-06 16:30:51 +01:00
Florent Rougon
ea827f5677
Revert commits e1b65590
, 0b1c3568
and 72886289
...
Commit e1b65590cb
was:
Add the top-level options.xml and Translations directory moved out of
FGData
Commit 0b1c356837
was:
Make the FG installation prefix available to C++ code via config.h
Commit 7288628919
was:
Load --help output and translated strings from
$FG_INSTALL_PREFIX/share/flightgear
For the reasons of these revertings, see the thread at
<https://sourceforge.net/p/flightgear/mailman/flightgear-devel/thread/CAHtsj_eFdxLoXXoNq%3D3OKNRmyR6-FowFL97TASdQJx8N05Lmig%40mail.gmail.com/#msg35580548 >,
including <https://sourceforge.net/p/flightgear/mailman/message/35584363/ >,
<https://sourceforge.net/p/flightgear/mailman/message/35584803/ > and
<https://sourceforge.net/p/flightgear/mailman/message/35585421/ > (appearing
out-of-thread according to the SF mailing list archive...).
2017-01-05 06:53:53 +01:00
Florent Rougon
0b1c356837
Make the FG installation prefix available to C++ code via config.h
...
CMAKE_INSTALL_PREFIX is now available as FG_INSTALL_PREFIX from
config.h.
2016-12-29 11:33:19 +01:00
James Turner
2314ccfe13
Developer-warnings
...
- make some existing warnings developer-mode only
- add a warning about legacy aircraft path usage
2015-11-13 22:13:44 +00:00
James Turner
bfeb41858d
Cmake always generates version.h
...
- simplify some code as a result
2015-03-08 00:42:39 +00:00
James Turner
a466dbce73
Very crude work on GUI base package selection.
...
- feedback on wording greatly appreciated.
- needed to make nightly builds usable without bundled data.
2015-03-08 00:42:05 +00:00
James Turner
78e8f53312
In-app launcher for Mac, based on Qt5.
...
The old Mac launcher doesn’t work on Yosemite, add a tiny
Qt-based launcher inside the main process (no need to fork /
exec) which runs before the OSG window is created.
Will be merged for 3.4, hopefully with no impact on other
platforms.
2015-01-06 19:13:30 +00:00
James Turner
7b2d710cd0
Add hts_engine 1.08 and flite_hts 1.05 code.
...
- Not compiled by default, nor hooked up to anything yet.
- Both libraries licensed under modified BSD license.
- Added top-level CMake file for both, to create a plain static
library for each.
2014-03-10 09:32:43 +00:00
Erik Hofman
73a519a95c
Make the JSBSim terrain handling code compile time configurable by calling cmake -DJSBSIM_TERRAIN=1
2014-01-29 13:50:06 +01:00
James Turner
1a372d9366
Update image-server logic.
...
- no dependency on libJpeg or Simgear
- no duplicate rendering of the scene (uses a draw callback)
- supports other image types, eg PNG
- threaded so doesn't block the main loop ever
2014-01-27 09:08:34 +00:00
James Turner
590be3f8ff
Initial integration of CrashRpt for Windows.
2014-01-18 14:51:19 +00:00
Rebecca Palmer
bf1fe65bc5
Disable screensaver: initial Linux-only implementation
...
Add a function fgOSDisableScreensaver() that attempts to disable the
screensaver (currently only succeeding on Linux), and call it on startup.
CMake option USE_DBUS (on by default), requires libdbus-1
Motivation: most screensavers do not monitor the joystick
https://bugs.launchpad.net/ubuntu/+source/flightgear/+bug/793599
Discussion: http://sourceforge.net/p/flightgear/mailman/message/31717061/
2013-12-15 21:18:22 +00:00
Thomas Geymayer
771586854b
Make build information readonly and clean up debug output.
2013-10-20 12:59:44 +02:00
James Turner
97d89a0c47
Remove all references to libsvn from build.
2013-09-28 14:15:47 +01:00
f-jjth
d03b44b662
FGCom integrated into FlightGear.
...
Disabled by default at build time.
2013-08-16 17:02:47 +01:00
Thomas Geymayer
779a9ae415
Really make profiling commands optional
2012-11-15 13:56:31 +01:00
James Turner
50c61b4211
Allow use of the system's SQLite3 library.
...
Keep distro packagers happy by having the option to use the system's sqlite library instead of our bundled version. Set SYSTEM_SQLITE=1 when running cmake to use the system one.
2012-09-19 14:28:25 +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
James Turner
77cd7b39f7
Since we require OSG 3.0 now, this check is obsolete.
2012-05-15 23:10:53 +01:00
ThorstenB
a524e654f9
Fix rpmlint/Linux packager complaints
...
about outdated/invalid FSF address in some license headers.
2012-05-05 00:38:56 +02:00
ThorstenB
39b03594aa
Remove obsolete ignore pattern for automake generated headers.
2012-02-17 23:46:42 +01:00
Frederic Bouvier
c964d0e83e
Restore JSBsim and Yasim in VS2008 build
2011-12-18 16:14:53 +01:00
adrian
b55fd4de91
separate implementation
2011-11-24 05:02:42 +02:00
adrian
9ab41ea158
Merge branch 'next' into comm-subsystem
...
Conflicts:
src/Instrumentation/Makefile.am
2011-11-23 14:02:43 +02:00
ThorstenB
1366336a87
Drop obsolete include files - no longer used anywhere.
...
There are replacements in simgear...
2011-11-13 16:56:05 +01:00
James Turner
a4a8d08392
JPEG-server support, in the CMake world.
2011-11-05 17:11:39 +00:00
James Turner
4b8ef9c3cf
Add compile-time support for a custom fg-root location, when using CMake
2011-11-01 17:05:54 +00:00
adrian
9527a0391e
add to project files
2011-11-01 17:44:41 +02: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
Frederic Bouvier
1c1947eab2
Remove obsolete msvc build files
2011-08-15 19:29:27 +02:00
Torsten Dreyer
24383e5194
Two minor MSVC90 build fixes
...
- provide SIMGEAR_VERSION in no_version.h
- remove duplicate define of FLIGHTGEAR_VERSION
2011-07-18 10:24:52 +02:00
James Turner
b0985c6b02
Fix for bug 331, cmake was missing mkfifo() check. Thanks to Olaf Flebbe for the catch!
2011-06-02 23:01:17 +01:00
Mathias Froehlich
3134acca83
Add the hla stuff to the cmake build system.
2011-01-17 21:35:12 +01:00
James Turner
5deec69e00
First attempt at libsvn support in terrasync with CMake
...
- not yet working!
2011-01-09 00:15:29 +00:00
Frederic Bouvier
670fa26f7e
Cmake: more windows tweaks
2011-01-03 22:47:11 +01:00
James Turner
4428b7358c
Fixed CMake version.h, config.h creation
2011-01-01 21:46:16 +00:00