1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-29 03:19:44 +00:00
Commit Graph

215 Commits

Author SHA1 Message Date
elsid
e186e4f7ae
Remove no longer required FindRecastNavigation.cmake
It's possible to find the library without having it. But also it prevents target
options from propagation to the openmw targets.
2024-08-13 10:47:33 +02:00
AnyOldName3
42c7fc8e92 Update 2 files
- /components/CMakeLists.txt
- /cmake/GitVersion.cmake
2024-02-25 18:53:19 +00:00
elsid
f08ab9af56
Use SDL2 generate cmake files to find the package 2023-11-24 15:56:54 +01:00
Petr Mikheev
d39552962f Validate version of resources 2023-08-31 20:56:02 +02:00
Petr Mikheev
f260fa006e Show OpenMW version and Lua API revision in documentation. 2023-08-31 20:56:02 +02:00
AnyOldName3
34fcfb63cf Eliminate redundant version checks 2023-07-20 00:43:56 +01:00
Elias Howell
bf8fafa79a fixed some typos and spelling errors 2023-05-09 20:07:08 -04:00
elsid
8031b9a16c
Use spaces only for identation in CMakeLists.txt 2023-03-10 15:01:24 +01:00
Cody Glassman
ac4787aeec shade refactor 2023-02-25 11:03:39 -08:00
Petr Mikheev
b379180393 Change FATAL_ERROR -> WARNING in CheckLuaCustomAllocator.cmake 2022-11-28 23:37:01 +00:00
Petr Mikheev
b6dd84c8ef Check LuaJit version 2022-11-18 02:08:40 +01:00
Andrew Dunn
71f6f95020 Make Mac Plugins osgPlugins symlink relative
Was an absolute path.
2022-09-21 07:44:56 +10:00
Andrew Dunn
52501b7b65 Re-sign Mac Applications before creating install package
On Apple Silicon, the changes to linking paths done to "relativise"
paths in App bundles invalidates the code signature, so we need to
recalculate the signatures *after* the path changes have been performed
but before the install package is created. This depends on a new CMake
feature introduced in 3.19.
2022-09-17 18:24:06 +10:00
madsbuvi
dd5901d351 Initial commit
Multiview shaders.

Refactor Frustum management

Rewrite shared shadow map

cull mask should respect stereo

Stereo savegame screencap

LocalMap refactoring

use the vertex buffer hint instead of the display list patch to enable/disable display lists

Character preview fixes
2022-04-28 21:05:34 +02:00
AnyOldName3
a9877aea98 Ensure Debug version of GMock library is added to imported target
(cherry picked from commit dcf61dfe783fe808c76d102e6639ed0be77d5932)
2021-11-21 22:45:10 +00:00
psi29a
10b3ca8194 small fixup 2021-11-20 18:12:29 +00:00
AnyOldName3
d0adbc1b8f Also import GMock::Main Debug library properly 2021-11-13 18:24:51 +00:00
AnyOldName3
cd37504d0e Resave hint variables to cache so they'll still exist after a reconfigure 2021-11-06 18:48:48 +00:00
Pi03k
4ff5a04e9b Remove redundant qt-related cmake macros 2021-09-17 14:41:04 +02:00
pi03k
e4eeb9cce9 Remove 'no relevant classes' moc warning 2021-09-14 11:20:18 +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
Petr Mikheev
9e168fd9cc Add Lua/LuaJit and sol3 to openmw 2021-07-09 19:27:00 +02:00
AnyOldName3
0d737a3501 Create defaults.bin at configure time 2021-05-09 21:00:49 +01:00
AnyOldName3
b78bed90c5 Add CMake-based base64 port 2021-05-05 23:51:07 +01:00
fredzio
231780a51d Simplify the bullet detection. This way we don't need to explicitly pass
all possible variables to the try_compile stuff
2021-05-04 22:18:30 +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
fredzio
6fd04cb8f6 Remove support for single-precision Bullet, fail during configuration instead of during linking. 2021-05-02 17:48:50 +02:00
elsid
6c18449304
Remove GTest and ExternalProject from FindGMock.cmake 2021-04-03 02:15:00 +02:00
elsid
b9575180b5
Support custom recastnavigation system path 2021-03-04 18:13:13 +01:00
elsid
b47573f36b
Fix recastnavigation debug library suffixes 2021-03-04 18:12:08 +01:00
Bret Curtis
741584472e another cleanup to FindRecastNavigation.cmake 2021-03-04 10:39:54 +01:00
Bret Curtis
2bc5a44e15 Added copyright, refactored to be more clear and marked certain things as advanced. 2021-03-03 11:38:28 +01: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
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
99061345cc WholeArchive.cmake: Fix mismatched args warning 2021-01-26 19:00:55 +00:00
Gleb Mazovetskiy
4dc0fd299f cmake/WholeArchive.cmake: fix typo 2021-01-26 19:00:55 +00:00
Gleb Mazovetskiy
90766dcc82 cmake: get_whole_archive_options macro -> function 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
11dfb9daff cmake/FindOSGPlugins: Support lib-prefixed plugins
With a regular OSG build, the plugin names are prefixed with
`lib`, e.g. `libosgdb_jpeg.a` for a static build.

However, on Debian on Ubuntu they are not.

With this commit we now try both options.

Fixes #5972

Signed-off-by: Gleb Mazovetskiy <glex.spb@gmail.com>
2021-01-15 16:52:18 +00:00
Gleb Mazovetskiy
823e7bea38 Fix MyGUI detection
`libfind_pkg_detect` used `pkg_check_modules`, which requires all the
given modules to be found.

This means it always failed for MyGUI, which passes
`MyGUI${MYGUI_STATIC_SUFFIX} MYGUI${MYGUI_STATIC_SUFFIX}` to it.

Replaces `pkg_check_modules` with `pkg_search_module`, which finds the
first match instead.
2021-01-13 02:51:43 +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
Bret Curtis
7954dccb44 lz4 prep work; get linux and windows ready 2020-10-19 22:31:42 +03:00
psi29a
7300496a5f Delete FindFreetype.cmake; as it is provided by cmake as of 3.0.2 and we require 3.1.0. 2020-07-10 12:27:22 +00:00
psi29a
5c3496fb15 Delete FindBullet.cmake; we use cmake's version which has been available since 3.0.2 and we have a requirement of 3.1.0
https://cmake.org/cmake/help/v3.0/module/FindBullet.html
2020-07-10 12:22:58 +00:00
AnyOldName3
2f8c5ef09d Use a generator expression to specify the debugger working directory 2020-06-22 21:38:40 +01:00
AnyOldName3
a58a8db030 Uncomment commented lines 2018-12-18 18:42:20 +00:00
AnyOldName3
9067731a96 Adapt to CMake 3.13's new meaning of OSGDB_LIBRARY (i.e. that it can now be a list) while allowing for the possibility that the found libraries may be in different directories when debug and optimised versions exist. 2018-12-13 02:08:35 +00:00
elsid
ef631a0961
Add dependency for GMock 2018-08-11 16:52:53 +03:00
Doc West
467989cdd5 Moved crashcatcher to a component and also use it in CS
Reworked debugger detection (failed on gdb 7.11), it now uses /proc to detect the debugger
2018-07-09 16:25:55 +02:00