James Turner
7b87b061da
Add coherent noise filter to the AP
2020-12-26 18:54:35 +00:00
Scott Giese
1781bebb12
Easy rpath solution.
...
Supported for UNIX-like (excluding Apple, Cygwin).
2020-12-16 23:34:59 -06:00
Fernando García Liñán
255d193bc8
Make Compositor default
...
- Removed the ENABLE_COMPOSITOR CMake flag.
- Removed /sim/version/compositor-support.
- Removed miscellaneous branching to check if the Compositor is enabled.
- Removed custom resource loader since Compositor Effects are now located in $FG_ROOT/Effects.
- Removed splash screen warning.
- Only use the Compositor versions of CameraGroup and FGRenderer.
- Fix redout/blackout not appearing under certain circumstances.
2020-11-16 13:25:29 +01:00
Automatic Release Builder
2fe55d1e6b
Sett RelWithDebInfo opt flags
...
Ensure we use O3 for AppImage builds
2020-10-29 14:47:33 +00:00
James Turner
740193a378
CMake: different fix for ALIAS issues with 3.10
...
ALIAS is not really functional in 3.10, so use a variable to approximate
the same behaviour. Not elegant but it seems to work.
2020-08-27 22:33:08 +01:00
James Turner
cf424e4344
Rename buildId header file
...
Avoid the very common name ‘build.h’ in favour of something clearer
and FlightGear specific.
2020-08-24 15:05:16 +01:00
James Turner
178d1beb80
Cmake: Remove version.h machinery
...
Merge this file into config.h, this means we can save an include path
everywhere.
2020-08-24 15:04:24 +01:00
James Turner
a82a13b70c
Cmake: fix compat with CMake 3.10
...
Thankfully StackOverflow had an evil solution to this missing feature
in 3.10.
2020-08-23 22:25:03 +01:00
James Turner
fef50310bf
Cmake: fix some issues Scott spotted.
2020-08-23 18:15:07 +01:00
James Turner
47ff3e9f67
Improve CMake strucutre
2020-08-23 11:31:37 +01:00
James Turner
5820619575
Move ENABLE_ASAN check to global scope
...
Allows ASan with GCC.
2020-08-23 11:30:21 +01:00
James Turner
d7504d8f65
Enable ASan for Clang
2020-08-17 10:21:26 +01:00
Julian Smith
d0aaf240f6
renamed version -> flightgear-version to avoid breaking clang++.
...
clang++ headers end up including <version>, which picked up this file instead
of the system one, breaking builds.
2020-07-04 09:02:51 +01:00
James Turner
94f98294de
Workaround Fedora Qt packaging bug
...
Use a manual include file, instead of the official method, to check
if the Qt5 private headers are installed or not.
2020-06-24 16:36:45 +01:00
James Turner
8a35be7798
Flip the C++17 switch, experimentally.
2020-06-22 20:40:29 +01:00
James Turner
425a2f4fe3
C++ version fixes for C++17 support
2020-06-22 10:25:51 +01:00
James Turner
bd666f952e
Raise minimum OSG version to 3.4.1
2020-06-18 17:39:48 +01:00
James Turner
306cc83744
Raise versions of CMake/Qt/Compiler/macOS
...
Let’s see what breaks :)
2020-06-18 12:58:09 +01:00
James Turner
9326c88f9b
Move Qt root path variable to top-level CMakeList
2020-06-10 17:59:09 +01:00
James Turner
32ff21c1df
UI: support OSG multi-threading modes, partially
...
Requires private header, so might need an additional package installed
on some Unixes.
2020-06-08 22:44:52 +01:00
James Turner
a9e5a27e55
UI handling tweaks
...
- add class to handle top-level windows
- remove requirement to use custom graphics-window
- order alongside PUI UI
2020-06-05 17:54:27 +01:00
James Turner
af00b5e304
Set CMake OpenGL VND policy
2020-06-05 13:33:27 +01:00
James Turner
f3db10d43b
Fix missing guard in SIMD compiler flag setting
2020-05-28 10:47:29 +01:00
James Turner
bb6174bd44
Fix compilation with Boost >= 1.73
2020-05-28 10:47:10 +01:00
James Turner
cd2011b61e
Change how SIMD compile flags are set
2020-05-26 13:06:35 +01:00
James Turner
0b845b9c9f
Kill setting compiler flags for Debug
...
Use the Cmake default values for this
2020-05-24 14:32:59 +01:00
James Turner
54f660764e
Tests: change how we find+load data files
...
Avoid encoding test-data as strings, since this exceeds MSVC limits
on string literals, and tests don’t need to be relocatable anyway,
so we can just hard-code the source location into config.h
2020-05-24 14:14:35 +01:00
James Turner
1b86267dbe
Clang: Adjust RelWithDebInfo flags
2020-05-13 00:08:19 +01:00
James Turner
620a02bad3
Make sentry APi key customisable
2020-05-12 12:01:59 +01:00
James Turner
45eb7eaff4
Clang disable global setting of CFLAGS / CXXFLAGS
...
This was intended to only affect Debug builds, but when using a multi-
config generator (XCode, Visual Studio etc) it affects all builds.
Disabling for now until we figure out a better way to do this.
2020-05-10 19:42:35 +01:00
James Turner
fe16551cf6
Better RelWithDebInfo flags for CL.exe
2020-05-08 14:32:40 +01:00
James Turner
fe56b8272b
Windows: ensure RelWithDebInfo is fast
...
Default CMake RelWithDebInfo pessimizes inlining
2020-05-07 14:13:10 +01:00
James Turner
faee5dbabf
Code changes for crash reporting with Sentry.
2020-04-17 17:55:34 +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
92e6cccfdc
Tweak DBus detection, especially for macOS
...
Avoid the need to set PKG_CONFIG_PATH externally, use the internal
CMake behaviour where CMAKE_PREFIX_PATH is added. Unfortunately, we
do still need to manually add CMAKE_INSTALL_PREFIX, which is not
auto-added.
2020-04-08 16:54:20 +01:00
James Turner
2500534b1e
Build changes for new crash-reporting system.
2020-04-07 09:38:13 +01:00
gallaert
1ce36af298
- When HLA is enabled in Simgear, HLA is also enabled in Flightgear
...
making the build between Simgear and Flightgear consistent.
- Fix an issue with lib/lib64 path between CentOS/RedHat distributions
and Debian derived distributions.
- Fix a compilation issue with HLA in the Flightgear code.
2020-04-01 21:02:24 +01:00
gallaert
4b60bc7a5b
CMake fails to detect OpenRTI include files.
2020-04-01 20:59:39 +01:00
James Turner
96be636240
Fixing up HID event input on Mac/Windows
...
Removing old macOS separate input - the HID version is better in
every way.
2020-04-01 15:29:58 +01:00
James Turner
7e9930e871
Move fnt code from PLIB into 3rdparty
...
This enables us to fix TXF loading to use UTF8 paths, required for
handling non-ASCII paths on Windows.
2020-03-13 12:21:56 +00:00
James Turner
19eaaf04ee
Remove some redundant CMake output
2020-03-13 09:51:21 +00:00
James Turner
22de9d30b5
Make the test_suite happier under MSBuild/VS
...
Use the CMake target as the command to invoke, so various things
get set automatically, and set the MSVCIDE_RUN_PATH so DLLs
are found correctly.
2019-09-26 13:00:23 +01:00
Edward d'Auvergne
0bb968543b
TestSuite: Renamed the run_test_suite binary to fgfs_test_suite.
...
This is on James' suggestion. The 'fgfs_test_suite' or 'fgfs_test_suite.exe'
binary file name is significantly more obvious as to its purpose.
2019-09-25 14:59:11 +02:00
Edward d'Auvergne
3d13c16973
TestSuite: CMake fix for variables missing from the parent scope.
...
The test suite CMake target variables have been shifted back into
test_suite/CMakeLists.txt. These are now correctly constructed and placed into
the parent scope where the test_suite target now resides.
2019-09-25 10:38:19 +02:00
Edward d'Auvergne
f6efeb3f34
Test Suite: Workaround for aberrant MS Windows CMake behaviour.
...
The add_custom_target() CMake function for the test_suite target has been
shifted from test_suite/CMakeLists.txt to the top level CMakeLists.txt file.
The variable setting CMake code required for this has also been shifted. This
allows for the same build command 'cmake --build . --target test_suite' to work
on all operating systems.
2019-09-17 21:50:52 +02:00
Julian Smith
f3d1135320
Various fixes for building on OpenBSD.
2019-09-04 10:55:43 +01:00
James Turner
309aaa794f
Flite always compiled now.
2019-06-03 16:51:08 +01:00
James Turner
84c5ea976b
Try to make UDev detection quieter
2019-05-28 09:14:49 -07:00
James Turner
396d9e4c3b
Soften the HID dependency, so we can build
...
without HID if the necessary 3rdparty libs are not found.
2019-05-28 17:09:58 +01:00
James Turner
7738f33306
Adjust FindDBus to use imported targets
...
This is necessary on macOS where DBus is typically installed using
Homebrew, and hence we need additional linker flags to find the
library. Using the PkgConfig::DBUS imported target handles all this
transparently, but then we need to define an imported target for
Windows to work.
2019-05-27 11:37:35 +01:00