Commit graph

215 commits

Author SHA1 Message Date
Leon Styhre eb9b357678 Changed to maximum debug level for Clang and GCC for the Debug and Profiling builds.
Also added the -fno-omit-frame-pointer flag to the TSAN and UBSAN options.
2021-11-18 22:29:52 +01:00
Leon Styhre ed8c43f92c Removed the -pg compiler flag for the CMake Profiling build type. 2021-11-17 21:15:35 +01:00
Leon Styhre 9c1008bdd2 (RPi) Fixed an invalid compiler flag on aarch64. 2021-11-16 22:34:42 +01:00
Leon Styhre c5c7835dbb Added an UndefinedBehaviorSanitizer option to the CMake configuration file. 2021-11-16 20:18:09 +01:00
Leon Styhre 7f5fe3fcbf (RPi) Added some compiler optimization flags. 2021-11-16 17:34:11 +01:00
Leon Styhre 634a58fbc3 Added a ThreadSanitizer option to the CMake configuration file. 2021-11-15 20:22:29 +01:00
Leon Styhre 187115a9e6 Miniscule change to the CMake configuration file. 2021-11-13 13:30:17 +01:00
Leon Styhre 4b62650166 Added an AddressSanitizer option to the CMake configuration file. 2021-11-13 13:28:36 +01:00
Leon Styhre d3b135e387 Set the FFmpeg video player HW decoding as disabled by default. 2021-11-08 17:58:36 +01:00
Leon Styhre ac4710a18e Added proper support for the Raspberry Pi 4. 2021-11-07 23:54:52 +01:00
Leon Styhre db0b76a598 CMake changes to use the bundled RapidJSON parser. 2021-10-06 17:53:13 +02:00
Leon Styhre 5851139e53 Added the -Wunused-macros compiler flag. 2021-09-21 17:20:58 +02:00
Leon Styhre fc78f8ee18 General cleanup of the CMake configuration files. 2021-09-19 18:53:20 +02:00
Leon Styhre dacda90186 Made CMake use a more reliable way for detecting the compiler version. 2021-09-19 15:55:47 +02:00
Leon Styhre e30cad2e9f Added the -Wall, -Wpedantic and some additional compiler flags.
Also increased the minimum Clang and GCC compiler versions.
2021-09-19 15:02:13 +02:00
Leon Styhre abf8759f75 Added headers to the CMake configuration files. 2021-08-24 18:32:15 +02:00
Leon Styhre 3e88e90dac Changed the language standard from C++14 to C++17 2021-08-18 18:55:20 +02:00
Leon Styhre 722468129e Replaced all internal matrix data types and functions with the GLM library equivalents.
Also changed some vectors.
2021-08-15 19:30:31 +02:00
Leon Styhre ffc9814636 Added the GLM include directory to the CMake configuration. 2021-08-13 21:26:20 +02:00
Leon Styhre a93cef1eb3 Fixed a small CMake configuration error. 2021-07-15 19:29:56 +02:00
Leon Styhre 840dc13285 (Windows) Fixed an issue where the wrong FFmpeg version was bundled. 2021-07-13 21:47:55 +02:00
Leon Styhre 6a7eb982f2 Now checking that clang-tidy is actually installed before attempting to use it. 2021-07-09 21:32:47 +02:00
Leon Styhre aed9e3970b Added support for building with the clang-tidy static analyzer. 2021-07-09 19:54:54 +02:00
Leon Styhre 24fd136099 Fixed the build of CEC support on the Raspberry Pi. 2021-07-09 19:50:59 +02:00
Leon Styhre 9a53ad0463 Some CMake updates to build correctly on Raspberry Pi.
Also some other general CMake cleanups.
2021-07-08 18:05:32 +02:00
Leon Styhre 2d6f4505af Increased the minimum required GCC version to cover C++14. 2021-07-07 17:46:44 +02:00
Leon Styhre 655c645ee7 (macOS) Removed the pointless APPLE_SKIP_INSTALL_LIBS CMake option. 2021-06-26 12:06:24 +02:00
Leon Styhre 337f06b428 Added a CMake option to build with or without the VLC video player. 2021-06-23 00:24:15 +02:00
Leon Styhre a838a09f60 Update to make compiling work with CImg as a Git subtree. 2021-06-07 22:14:12 +02:00
Leon Styhre 4b1c7c7f0a Update to make compilation work with NanoSVG as a Git subtree. 2021-06-07 21:56:13 +02:00
Leon Styhre 77bbe0592c Updated VideoFFmpegComponent to use libavfilter for frame processing and conversion. 2021-05-29 10:58:51 +02:00
Leon Styhre 5e0b709c14 (macOS) Added a CMake variable for defining the code signing certificate identity. 2021-05-13 19:33:07 +02:00
Leon Styhre 12cc3b05b9 Fixed an issue where CMAKE_INSTALL_PREFIX was not cached. 2021-05-13 12:57:52 +02:00
Leon Styhre d13967b8fb (Windows) Updated the CMake files to include the FFmpeg libraries for building and packaging. 2021-05-13 11:35:56 +02:00
Leon Styhre 0b14a463c3 (Windows) Fixed an incorrect language standard flag for the MSVC compiler. 2021-05-13 11:02:38 +02:00
Leon Styhre f92b314a0d Changed the language standard from C++11 to C++14 2021-05-12 22:39:53 +02:00
Leon Styhre eb868055b7 Replaced the CMake find module for FFmpeg. 2021-05-10 21:58:14 +02:00
Leon Styhre ef8b008d28 Added an experimental FFmpeg video player. 2021-05-09 22:52:26 +02:00
Leon Styhre ac93d09db9 (Linux) Whether to use the CPack DEB or RPM generator can now be set using a variable. 2021-05-04 17:09:19 +02:00
Leon Styhre 8d55a163ca (macOS) Some CMake improvements. 2021-04-07 18:32:22 +02:00
Leon Styhre 898a66aa14 (macOS) Enabled code signing, including Hardened Runtime if on macOS 10.14 or later. 2021-04-07 00:39:12 +02:00
Leon Styhre 4ff95c4ddf (Unix) Changed the default installation prefix from /usr/local to /usr on Linux.
Also changed the prefix on NetBSD from /usr/local to /usr/pkg.
2021-04-02 12:12:49 +02:00
Leon Styhre 5b31c9dedc Updates to the CMakeLists.txt files. 2021-01-21 21:44:51 +01:00
Leon Styhre 776554c80b (Windows) The NSIS installer now works when building with MSVC. 2020-12-29 17:44:00 +01:00
Leon Styhre e6847a09c7 (Windows) Fixed some MinGW compile errors. 2020-12-28 23:49:34 +01:00
Leon Styhre 9ec3f19482 (Windows) Added support for the MSVC compiler. 2020-12-28 23:23:01 +01:00
Leon Styhre 804f175bb8 Fixed an issue and made some improvements to the Windows installer. 2020-11-30 18:58:55 +01:00
Leon Styhre 375d9d2423 (Windows) Added missing library dependency to the installer. 2020-11-29 20:34:20 +01:00
Leon Styhre 8155931edd Disabled an obsolete linker flag on macOS. 2020-11-27 21:37:10 +01:00
Leon Styhre cc93ca4630 Fixed an annoying CMake issue that also broke the macOS build. 2020-11-27 20:04:02 +01:00