Commit Graph

215 Commits (5d37cb3b74b1e47fef78fdabaedb791091018dc6)

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.
5 months ago
AnyOldName3 42c7fc8e92 Update 2 files
- /components/CMakeLists.txt
- /cmake/GitVersion.cmake
10 months ago
elsid f08ab9af56
Use SDL2 generate cmake files to find the package 1 year ago
Petr Mikheev d39552962f Validate version of resources 1 year ago
Petr Mikheev f260fa006e Show OpenMW version and Lua API revision in documentation. 1 year ago
AnyOldName3 34fcfb63cf Eliminate redundant version checks 1 year ago
Elias Howell bf8fafa79a fixed some typos and spelling errors 2 years ago
elsid 8031b9a16c
Use spaces only for identation in CMakeLists.txt 2 years ago
Cody Glassman ac4787aeec shade refactor 2 years ago
Petr Mikheev b379180393 Change FATAL_ERROR -> WARNING in CheckLuaCustomAllocator.cmake 2 years ago
Petr Mikheev b6dd84c8ef Check LuaJit version 2 years ago
Andrew Dunn 71f6f95020 Make Mac Plugins osgPlugins symlink relative
Was an absolute path.
2 years ago
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.
2 years ago
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
3 years ago
AnyOldName3 a9877aea98 Ensure Debug version of GMock library is added to imported target
(cherry picked from commit dcf61dfe783fe808c76d102e6639ed0be77d5932)
3 years ago
psi29a 10b3ca8194 small fixup 3 years ago
AnyOldName3 d0adbc1b8f Also import GMock::Main Debug library properly 3 years ago
AnyOldName3 cd37504d0e Resave hint variables to cache so they'll still exist after a reconfigure 3 years ago
Pi03k 4ff5a04e9b Remove redundant qt-related cmake macros 3 years ago
pi03k e4eeb9cce9 Remove 'no relevant classes' moc warning 3 years ago
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.
3 years ago
Petr Mikheev 9e168fd9cc Add Lua/LuaJit and sol3 to openmw 4 years ago
AnyOldName3 0d737a3501 Create defaults.bin at configure time 4 years ago
AnyOldName3 b78bed90c5 Add CMake-based base64 port 4 years ago
fredzio 231780a51d Simplify the bullet detection. This way we don't need to explicitly pass
all possible variables to the try_compile stuff
4 years ago
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.
4 years ago
fredzio 6fd04cb8f6 Remove support for single-precision Bullet, fail during configuration instead of during linking. 4 years ago
elsid 6c18449304
Remove GTest and ExternalProject from FindGMock.cmake 4 years ago
elsid b9575180b5
Support custom recastnavigation system path 4 years ago
elsid b47573f36b
Fix recastnavigation debug library suffixes 4 years ago
Bret Curtis 741584472e another cleanup to FindRecastNavigation.cmake 4 years ago
Bret Curtis 2bc5a44e15 Added copyright, refactored to be more clear and marked certain things as advanced. 4 years ago
Bret Curtis c4064fca0c include feedback and add DebugUtils and Detour 4 years ago
Bret Curtis 28cb14289a initial attempt at FindRecastNavigation.cmake 4 years ago
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.
4 years ago
Gleb Mazovetskiy 99061345cc WholeArchive.cmake: Fix mismatched args warning 4 years ago
Gleb Mazovetskiy 4dc0fd299f cmake/WholeArchive.cmake: fix typo 4 years ago
Gleb Mazovetskiy 90766dcc82 cmake: get_whole_archive_options macro -> function 4 years ago
Gleb Mazovetskiy 8737453498 cmake: Compiler-specific whole-archive macro 4 years ago
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>
4 years ago
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.
4 years ago
wareya 18ef32ca82 values for this higher than sGroundOffset cause jittering on some surface; use safe-seeming value slightly less than sGroundOffset 4 years ago
Bret Curtis 7954dccb44 lz4 prep work; get linux and windows ready 4 years ago
psi29a 7300496a5f Delete FindFreetype.cmake; as it is provided by cmake as of 3.0.2 and we require 3.1.0. 5 years ago
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
5 years ago
AnyOldName3 2f8c5ef09d Use a generator expression to specify the debugger working directory 5 years ago
AnyOldName3 a58a8db030 Uncomment commented lines 6 years ago
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. 6 years ago
elsid ef631a0961
Add dependency for GMock 6 years ago
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
7 years ago