AnyOldName3
90eb090072
Get rid of overengineered macro
...
While the macro's implementation was fine based on the documentation for CMake 3.16, which we (currently) use, later versions of CMake recommend against this approach.
https://gitlab.com/OpenMW/openmw/-/merge_requests/4777 has an implementation that picks between a native feature added later that does the same job if it's available, but uses the one we already had if it isn't.
That's not ideal as the implementation ends up complicated and we'd have two code paths to support.
There's a simpler approach where we just temporarily set the directory property and call the real function, which would probably be the best approach in the general case.
However, as we want to set the directory property for everything in the directory, we can just set it on the `extern` directory, and then we don't need the macro at all.
2025-12-20 18:55:21 +00:00
Chris Djali (AnyOldName3)
759734beb4
Improve Wayland fractional scaling
2025-12-10 18:56:45 +00:00
AnyOldName3
f39ba9783a
Mark extern library includes as SYSTEM
...
With CMake 3.25, there's a target property we could use to deal with this with a little less mess, but we use 3.16 right now.
2025-09-23 01:13:47 +01:00
AnyOldName3
a433114937
Rearrange extern so includes don't need to start with extern/
2025-09-23 01:04:45 +01:00
Evil Eye
bdb3387bff
Install gcovr via pipx and disable Werror when building Benchmarks
2025-07-27 10:47:34 +02:00
Evil Eye
2bce45260c
Drop support for Qt5
2025-07-27 10:47:34 +02:00
Evil Eye
362c1a7ebe
Update sol
2025-07-23 17:35:35 +02:00
elsid
e098770ba2
Use custom clang-tidy config for extern/
2025-04-05 12:55:17 +02:00
Alexei Kotov
ced142da92
Lift upstream sol::optional::emplace Clang 19 build fix
2025-03-12 00:05:20 +03:00
Andrei Kortunov
1933403400
Migrate videoplayer to OSG logging system
2024-10-18 10:20:22 +04:00
Evil Eye
2dcf1f7ed2
Don't break the read_packet contract
2024-09-17 20:56:04 +02:00
elsid
58b72e3836
Access channels and controls via at function
...
To avoid UB on out of range access.
2024-08-21 00:14:36 +02:00
elsid
6a5bc9f992
Save and rename input bindings file
...
To reduce the chance of corrupting the file.
2024-08-20 23:59:44 +02:00
elsid
20e3eeddde
Fix libavformat version check
...
2a68d945cd
added const version of a callback functions but didn't enable them. They were
guarded by a version check:
2a68d945cd/libavformat/version_major.h (L48)
So for anything LIBAVFORMAT_VERSION_MAJOR < 61 they are not enabled therefore
they are enabled for everything >= 61.0.100.
See https://github.com/elsid/openmw/actions/runs/10255993574/job/28374152796 as
example of failure when building with 60.16.100.
2024-08-05 23:52:30 +02:00
Sam Hellawell
61cb5b4da6
Support compiling with ffmpeg 5 and greater
2024-08-03 21:05:00 +01:00
Petr Mikheev
4a56d39b41
Minor fix in extern/CMakeLists.txt: there is no variable BUILD_UNITTESTS anymore.
2024-07-23 00:44:39 +02:00
psi29a
99fa1278d2
Merge branch 'codenames' into 'master'
...
Make binding names layout-independent
See merge request OpenMW/openmw!3993
2024-04-02 07:36:45 +00:00
Andrei Kortunov
387e53b468
Add missing initialization
2024-03-29 12:09:50 +04:00
Andrei Kortunov
3d83585c46
Make binding names layout-independent (bug 7908)
2024-03-29 12:02:06 +04:00
elsid
5859fd464c
Add option to disable precompiled headers
...
To be able to use ccache.
Also fix compilation errors appeared due to absence of precompiled
headers.
2024-03-08 02:11:51 +01:00
elsid
8cc665ec43
Update google benchmark to 1.8.3
2024-02-18 14:25:03 +01:00
Andrei Kortunov
8af8f331cb
Avoid possible race in videoplayer
2024-01-19 18:47:01 +04:00
elsid
29e8e7ba07
Update recasnagivation to c393777d26d2ff6519ac23612abf8af42678c9dd
2023-12-21 01:58:00 +01:00
elsid
f08ab9af56
Use SDL2 generate cmake files to find the package
2023-11-24 15:56:54 +01:00
Bret Curtis
edc3994384
turn on MYGUI_DONT_USE_OBSOLETE
2023-10-17 23:53:04 +02:00
Bret Curtis
e97b07b6a4
additional cleanup
2023-10-17 23:53:04 +02:00
Andrei Kortunov
84e44cedc2
Remove redundant configuration
2023-08-08 11:29:58 +04:00
Andrei Kortunov
35561450f1
Do not copy osg::ref_ptr when possible
2023-07-31 20:43:46 +04:00
Eli2
5a1e0795a3
build OSG with double types
2023-07-22 12:48:25 +02:00
Eli2
f398896ec8
bump MyGUI to the release version
2023-07-22 12:48:25 +02:00
AnyOldName3
34fcfb63cf
Eliminate redundant version checks
2023-07-20 00:43:56 +01:00
Eli2
c59904062f
Bump required CMake version to 3.16
2023-07-17 21:19:08 +02:00
Andrei Kortunov
5862f9f284
Do not use GL ES wrappers
2023-04-11 12:18:01 +04:00
Andrei Kortunov
8df7ce545e
Migrate from GraphicsWindowQt to QOpenGLWidget
2023-04-05 19:43:42 +04:00
elsid
a762624581
Reorganize and update benchmarks
2023-03-25 00:00:39 +01:00
psi29a
35b2292e61
Merge branch 'update_recastnagivation' into 'master'
...
Update recasnagivation to 405cc095ab3a2df976a298421974a2af83843baf
See merge request OpenMW/openmw!2832
2023-03-14 07:59:55 +00:00
psi29a
da81f92732
Merge branch 'update_sqlite3' into 'master'
...
Update sqlite3 to 3.41.1
See merge request OpenMW/openmw!2831
2023-03-14 07:58:20 +00:00
elsid
70914b8213
Update sqlite3 to 3.41.1
2023-03-12 17:51:29 +01:00
elsid
61b4c6f709
Update recasnagivation to 405cc095ab3a2df976a298421974a2af83843baf
2023-03-12 17:47:49 +01:00
elsid
6f6e452dfa
Add executable to run CS tests
2023-03-12 12:06:33 +01:00
Bret Curtis
09f9203baa
fix building and packaging issue with macos and qt plugins, they do not yet support versionless as it is a problem with cmake
2023-02-06 22:17:15 +01:00
Andrei Kortunov
13c304a995
Update used static Recast library to avoid warnings with GCC
2022-11-08 12:18:56 +04:00
AnyOldName3
84f8a6848a
Renormalise line endings
...
This should replace accidental CRLF with LF
2022-09-16 00:53:24 +01:00
Bret Curtis
1237c45ecb
turn on BUILD_OSG_PLUGIN_DAE for non system OSG
2022-09-11 17:37:51 +02:00
elsid
8e4f6fc4e4
Use FetchContent to get googletest
2022-08-04 01:12:11 +02:00
elsid
7e6c13630a
Use target_precompile_headers for the most expensive headers
2022-07-01 14:05:17 +00:00
elsid
42841002b5
Remove unused dependency to Boost.Thread
2022-05-22 02:42:01 +02:00
Petr Mikheev
7cd4222647
Update sol. Replace combined sol.hpp with loose files.
2022-05-15 21:34:55 +02:00
elsid
94c1d0cced
Use unique_ptr to store istream
2022-04-22 18:27:17 +02:00
Benjamin Winger
8179a097f8
Added ICU feature filters to limit the size of the data library when building ICU ourselves
2022-04-20 20:36:06 -04:00