Erik Hofman
718b09d7c3
Do not use ShaderVG until it's ready for use
3 years ago
Erik Hofman
6a32b758af
Remove a mistake, GLEW is not required when including the correct headers
3 years ago
Erik Hofman
b157f9cb9f
Make the option ShivaVG or ShaderVG a Cmake option: USE_SHADERVG
3 years ago
James Turner
0459406f84
Supress missing-override warnings in GCC/Clang
...
Due to OSG's age, I get a lot of these with Clang & XCodee
3 years ago
James Turner
782378a1b6
Always set USE_OPENALSOFT
...
WIthout this, the generated SimgearConfig.cmake is a bit
unhappy.
3 years ago
James Turner
da3507f3df
CMake config option to use OpenAL-soft
...
THis enables overriding the Apple OpenAL.framework on
macOS, and using OpenAL-soft instead.
3 years ago
James Turner
db5a2353bd
FFmpeg: tweak components we use
3 years ago
James Turner
dd61ad8bd0
FFmpeg Cmake support for video recording
3 years ago
James Turner
26995ba13b
Raise minimum OSG version to 3.6
3 years ago
James Turner
bd6a18bb96
CMake: set OpenGL VND policy to NEW to see if it works
...
OLD is causing shouty warnings from CMake, let’s see what happens if
we try for NEW.
3 years ago
Erik Hofman
c0205f7eb2
Use the find_dependency option to parse Simgear dependencies to FlightGear
4 years ago
Erik Hofman
09156b90fe
Per request: Rename DDS to DataDistributionService to prevent confusion with DDS the image format.
4 years ago
Erik Hofman
90e9d0a9d8
Support CycloneDDS as a SGIOChannel
4 years ago
Scott Giese
a1f83542cb
Remove unncessary cmake policy definitions
4 years ago
James Turner
d4a7cb1ee2
ArchiveExtractor .Xz compression of tar-balls
...
Allow use of LibZLMA / XZ compressed tarballs, which are significantly
smaller. Extend unit-tests to cover this.
4 years ago
Stuart Buchanan
8d5428bf77
WS3.0: Initial commit to load and render WS3.0
4 years ago
Julian Smith
510b25f8b8
Allow use of old zlib-1.2.3 on OpenBSD.
...
As of 2020-08-01, OpenBSD's system zlib is 1.2.3 which doesn't
have gzoffset(). However we can get away with this by making
gzfilebuf::approxOffset() always return zero.
4 years ago
James Turner
83500dd413
CMake: use same 3rdParty logic as FlightGear
...
Avoids need to specify the 3rd-party dir, in the standard/fgmeta
layout of source directories, and accept more combinations of path,
when the user specifies a value.
4 years ago
James Turner
670460a079
Set GCC RelwtihDebInfo opt flags
4 years ago
James Turner
2ed15eebfd
CMake fixes for Linux
4 years ago
James Turner
456c63935c
Cmake refresh
...
Use target objects everywhere, and simplify handling of system vs
local dependencies.
4 years ago
James Turner
84c15f6384
Enable ASan for clang
4 years ago
Julian Smith
fcc5e055ef
Renamed version -> simgear-version to avoid breaking clang++ on OpenBSD.
...
It seems that clang++ headers #include <version>, which found simgear/version
because we need to put singear/ in include path for some code to compile.
4 years ago
James Turner
abb73c566e
Update to C++17.
...
This can be reverted easily, but let’s see if it goes.
4 years ago
James Turner
346344ee09
C++17: use an OBJECT_LIBRARY to build HLA
...
This allows us to easily have different CXX version for the HLA code,
to the rest of the project.
4 years ago
James Turner
9ccbf539c1
Raise minimum OSG version to 3.4.1
4 years ago
James Turner
720f681e0f
Raise Cmake/Compiler versions for Next
4 years ago
James.Hester
259c1314de
Allow OSG to recalculate terrain normals.
4 years ago
James Turner
2b2e3ae5c4
Fix CMake value
4 years ago
James Turner
0e3ac7e078
Set CMake OpenGL VND policy
4 years ago
James Turner
11cf87951c
SIMD flags: ensure we respect other compiler flags
...
Ensure we only ever extend the currently set compile flags when
ENABLE_SIMD is requested
4 years ago
James Turner
7c004a4c90
Fix compilation with Boost >= 1.73
4 years ago
James Turner
a48693d273
Kill explicit setting of compiler flags in Debug
...
Use the CMake defaults for this.
4 years ago
James Turner
12d57a6373
Adjust RelWithDebInfo optimisation for Clang
...
This should give a bit of speed boost to macOS official builds.
4 years ago
James Turner
c7c8fc7777
Better RelWithDebInfo flags for CL.exe
4 years ago
James Turner
6e054e57ef
Windows: ensure RelWithDebInfo is fast
...
Default CMake RelWithDebInfo pessimizes inlining
4 years ago
James Turner
c83dc79357
Revert to C++11 for now, found an alternative solution.
5 years ago
James Turner
a53c1bfe8b
CMake logic to export debug symbols
5 years ago
gallaert
4bab064ad6
- 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.
5 years ago
gallaert
e222c0888c
Merge branch 'next' of https://git.code.sf.net/p/flightgear/simgear into next
5 years ago
Mykola Orliuk
65331599ec
BoostTestTargets.cmake: support CMake 3.15
...
Signed-off-by: James Turner <zakalawe@mac.com>
5 years ago
James Turner
ca97b4371b
Use alternative name for internal expat_config.h
...
Avoid clashes when system has expat installed.
5 years ago
Scott Giese
23f378cd93
Support VS 2019 - courtesy of Lars Toenning
5 years ago
Julian Smith
f407785f10
Fixes for building on OpenBSD.
5 years ago
gallaert
40ce45c8e9
Merge branch 'next' of https://git.code.sf.net/p/flightgear/simgear into next
5 years ago
Florent Rougon
319b59500c
Convert obsolete uses of get_filename_component(<var> <FileName> PATH)
...
In the context of get_filename_component(), PATH is a legacy alias for
DIRECTORY. Replace it with DIRECTORY, which is recommended[1] for
CMake versions > 2.8.11.
[1] https://cmake.org/cmake/help/latest/command/get_filename_component.html
5 years ago
gallaert
72dd45388f
Merge branch 'next' of https://git.code.sf.net/p/flightgear/simgear into next
6 years ago
Erik Hofman
7981809f36
Split up SIMD support in ENABLE_SIMD which enables sse2 support for the compiler and ENABLE_SIMD_CODE which enables the hand crafted SIMD math functions which defaults to OFF now since compilers have catched up on generating optimized vectorized SIMD code.
6 years ago
gallaert
5665403d66
Merge branch 'next' of https://git.code.sf.net/p/flightgear/simgear into next
6 years ago
James Turner
ff52b55a25
Mac: Set CMake OS-X deployment target correctly
...
Also raises the OS-X min version to 10.9 for libc++ compat
6 years ago