elsid
1b1deeb59b
Fail CI build when not allowed warnings are present
...
Put -Wno-error after -Wall to make it work properly for clang.
2021-09-05 02:06:03 +02:00
elsid
e9b8933b2f
Do no link binaries with Qt where it's not used
...
Define components_qt static library with all qt dependent components that also
depends on other components. Link only cs, wizard and launcher with qt
dependent components.
2021-08-20 19:02:09 +02:00
Bret Curtis
08a9abc46f
get openmw building with LuaJIT on macos
2021-07-16 16:35:03 +02:00
Petr Mikheev
4db5fa351d
Add sol3.2.2/sol/sol.hpp to extern instead of downloading during building
2021-07-12 11:46:32 +02:00
Petr Mikheev
9e168fd9cc
Add Lua/LuaJit and sol3 to openmw
2021-07-09 19:27:00 +02:00
AnyOldName3
d38126ef1c
Pack default CS config
...
*Technically* it was already being loaded as if it were packed, but it
made no difference because it's supposed to be empty.
2021-06-26 20:00:25 +01:00
Bret Curtis
36bb966ca1
Getting the ball rolling for 0.48
2021-06-18 23:16:03 +02:00
psi29a
dd197765c8
cmake check to enforce that if someone uses OSG 3.6, that it is at least 3.6.5
2021-06-16 08:28:48 +00:00
psi29a
e9fbd76e9b
Merge branch 'windows_tests' into 'master'
...
Support running tests and benchmarks for windows
See merge request OpenMW/openmw!839
2021-05-18 08:12:22 +00:00
psi29a
4bc7012104
Merge branch 'pack-default-settings' into 'master'
...
Pack default settings
Closes #5925
See merge request OpenMW/openmw!822
2021-05-18 08:11:13 +00:00
AnyOldName3
081650a2e5
Integrate Base64 library with build
2021-05-17 23:00:23 +01:00
psi29a
b583c2300c
Merge branch 'maybe-fix#5551' into 'master'
...
Fix #5551
Closes #5551
See merge request OpenMW/openmw!802
2021-05-17 08:16:02 +00:00
Andrei Kortunov
963e1b8b3f
Fix MSVC's C4244 warnings
2021-05-12 10:34:40 +04:00
Andrei Kortunov
f9d42ed396
Fix MSVC's C4267 warnings
2021-05-12 10:34:39 +04:00
elsid
4d7e5245a3
Support benchmarks for windows
...
Don't run the binary because gitlab can't execute it successfully due to
unknown reason.
2021-05-11 13:16:59 +02:00
AnyOldName3
0d737a3501
Create defaults.bin at configure time
2021-05-09 21:00:49 +01:00
Bret Curtis
4f5d697e2b
Do not fail when unable to detect the FFMPEG version, like windows.
2021-05-05 10:36:34 +02:00
Gleb Mazovetskiy
e3a6cb1695
Remove OsIdentity.cmake
...
Removes the OsIdentity.cmake file and uses a cross-compilation friendly
and OS-independent method of detecting system double-precision bullet
instead.
2021-05-03 00:08:47 +01:00
psi29a
7f7041656d
Merge branch 'enforce_double_bullet' into 'master'
...
Remove support for single-precision Bullet, fail during configuration instead of during linking (#5980 )
See merge request OpenMW/openmw!806
2021-05-02 20:52:57 +00:00
fredzio
6fd04cb8f6
Remove support for single-precision Bullet, fail during configuration instead of during linking.
2021-05-02 17:48:50 +02:00
AnyOldName3
1626762d5c
Maybe fix #5551
...
If we were doing this properly, we'd migrate to
https://cmake.org/cmake/help/latest/module/InstallRequiredSystemLibraries.html
but this should hopefully remove a blocker for 0.47
2021-05-01 22:20:51 +00:00
Chris Djali
f0cef87cd8
Merge pull request #3069 from akortunov/msvc_warnings
...
Rework warnings settings
2021-05-01 19:03:43 +01:00
psi29a
16bb3919d1
Merge branch 'navmesh_cache_simplification' into 'master'
...
Simplify navmesh cache
See merge request OpenMW/openmw!691
2021-04-28 08:01:06 +00:00
Andrei Kortunov
8aa76ff540
Use W4 instead of Wall for MSVC
2021-04-23 22:54:02 +04:00
Andrei Kortunov
f2f2c3d873
Disable -Wsuggest-override again since we have no control over code from FetchContent
2021-04-21 09:28:51 +04:00
Andrei Kortunov
1b1c786d0c
Do not suppress fixed MyGUI warnings
2021-04-19 15:34:22 +04:00
Andrei Kortunov
f308dde254
Clean up MSVC warnings
2021-04-17 12:14:50 +04:00
elsid
b9a40bc5fc
Add NavMeshTilesCache benchmarks
2021-03-25 19:28:41 +01:00
Gleb Mazovetskiy
493659d4f9
MSVC: extern/ tweaks to make it build
...
Not everything is supported but it does build with the following CMakeSettings.json
variables and dependencies from vcpkg:
"variables": [
{ "name": "OPENMW_USE_SYSTEM_BULLET", "value": "False", "type": "BOOL" },
{ "name": "OPENMW_USE_SYSTEM_MYGUI", "value": "False", "type": "BOOL" },
{ "name": "OPENMW_USE_SYSTEM_OSG", "value": "False", "type": "BOOL" },
{ "name": "BULLET_STATIC", "value": "True", "type": "BOOL" },
{ "name": "OSG_STATIC", "value": "False", "type": "BOOL" },
{ "name": "MYGUI_STATIC", "value": "False", "type": "BOOL" }
],
What works: it builds
What does not work: Not all DLLs are copied into the output directory with this set up
(SDL2, MyGUI, Bullet, OSG, are not copied).
2021-03-16 19:52:10 +00:00
Gleb Mazovetskiy
f460ab2152
MSVC: Fix build with vcpkg's boost
...
boost-zlib is not present (nor needed) in vcpkg version of boost
There, it is part of boost-iostreams instead.
This was previously reported in:
https://gitlab.com/OpenMW/openmw/-/merge_requests/213#note_348625016
2021-03-16 01:36:07 +00:00
AnyOldName3
450b971bb0
Merge branch 'gl4es-patch' into 'master'
...
gl4es: Delay feature detection until a context exists
See merge request OpenMW/openmw!626
2021-03-10 19:01:39 +00:00
Bret Curtis
c4064fca0c
include feedback and add DebugUtils and Detour
2021-03-02 23:11:06 +01:00
Bret Curtis
28cb14289a
initial attempt at FindRecastNavigation.cmake
2021-03-02 22:48:17 +01:00
Gleb Mazovetskiy
044e784072
gl4es: Delay feature detection until a context exists
...
gl4es feature detection does not work reliably with EGL.
If a context already exists, gl4es can instead reliably detect
the underlying GLES features from the context itself.
This requires gl4es to be configured with:
-DNOEGL=ON -DNO_LOADER=ON -DNO_INIT_CONSTRUCTOR=ON
This also requires gl4es to have this fix: https://github.com/ptitSeb/gl4es/pull/271
2021-02-28 07:59:48 +00:00
psi29a
96b5581930
Merge branch 'fetchcontent-recast-navigation' into 'master'
...
Move recastnavigation to FetchContent
Closes #5793
See merge request OpenMW/openmw!614
2021-02-20 00:36:42 +00:00
Gleb Mazovetskiy
e265d0bc2b
Fix OSGPlugins_LIB_DIR on the MacOS build
...
Moves auto-detection of OSGPlugins_LIB_DIR into FindOSGPlugins.cmake.
This should hopefully fix the error in the MacOS build.
2021-02-19 19:00:24 +00:00
Gleb Mazovetskiy
1c9245bd58
Move recastnavigation to FetchContent
2021-02-19 18:35:34 +00:00
psi29a
5c0214142b
Merge branch 'static-build' into 'master'
...
Optional local source builds of OSG, MyGUI, Bullet
See merge request OpenMW/openmw!547
2021-02-19 16:58:05 +00:00
AnyOldName3
c97980a0f6
Don't force linker to work with doubly-defined symbols
2021-02-11 01:35:32 +00:00
Gleb Mazovetskiy
3d334dae75
Fix MYGUI/OSG_STATIC and BUILD_SHARED_LIBS
2021-01-26 19:00:55 +00:00
Gleb Mazovetskiy
daf080ff19
cmake: Move MYGUI/OSG_STATIC default to top-level
...
Makes it clear that the USE_SYSTEM variables affect the defaults of
STATIC variables.
2021-01-26 19:00:55 +00:00
Gleb Mazovetskiy
26814b2386
CMakeLists.txt: Restore policies as we unbumped cmake version
2021-01-26 19:00:55 +00:00
Gleb Mazovetskiy
98564b0aae
cmake: move cmake_minimum_required bump to extern/CMakeLists.txt
2021-01-26 19:00:55 +00:00
Gleb Mazovetskiy
a06f598442
cmake: Move USED_OSG_(COMPONENTS|PLUGINS) before add_subdirectory(extern)
2021-01-26 19:00:55 +00:00
Gleb Mazovetskiy
8737453498
cmake: Compiler-specific whole-archive macro
2021-01-26 19:00:55 +00:00
Gleb Mazovetskiy
93fe84aea8
cmake: Move USED_OSG_(COMPONENTS|PLUGINS) from extern to top-level
2021-01-26 19:00:55 +00:00
Gleb Mazovetskiy
99ba45a308
Optional static builds of OSG, MyGUI, Bullet
2021-01-26 19:00:55 +00:00
Gleb Mazovetskiy
24d8412c0c
cmake: Fix missing OPENGL_INCLUDE_DIR
...
OPENGL_INCLUDE_DIR wasn't being included.
It is usually just /usr/include but if it was custom the build failed.
2021-01-14 02:52:59 +00:00
wareya
18ef32ca82
values for this higher than sGroundOffset cause jittering on some surface; use safe-seeming value slightly less than sGroundOffset
2020-12-27 22:16:11 +00:00
Mads Buvik Sandvei
637c76f438
Update CMakeLists.txt
2020-12-19 08:34:36 +00:00