aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
Commit message (Collapse)AuthorAge
* Switch MapBlock compression to zstd (#10788)lhofhansl2021-08-31
| | | | | | | * Add zstd support. * Rearrange serialization order * Compress entire mapblock Co-authored-by: sfan5 <sfan5@live.de>
* Take advantage of IrrlichtMt CMake target (#11287)JosiahWI2021-07-27
| | | | With the CMake changes to IrrlichtMt, it's now possible to use a target for IrrlichtMt. Besides greatly improving the ease of setting up IrrlichtMt for users building the client, it removes the need for Minetest's CMake to include transitive dependencies such as image libraries, cleaning it up a tiny bit. The PR works by finding the IrrlichtMt package and linking to the target it provides. If the package isn't found and it isn't building the client, it will still fall back to using just the headers of old Irrlicht or IrrlichtMt.
* Fix no locales being generated when APPLY_LOCALE_BLACKLIST=0sfan52021-07-20
| | | | Also enable `ky` which appears to work fine.
* Use --image-base instead of -Ttext-segment for lld linker on FreeBSD (#9367) ↵Dmitry Marakasov2021-05-15
| | | | (#11263)
* Use Irrlicht functions to query npot texture supportsfan52021-05-05
|
* Fix two CMake build issuessfan52021-04-21
| | | | | * PostgreSQL fallback code missed the includes (closes #11219) * build failed when Freetype enabled but not found
* Look for PostgreSQL library properly and fix CIsfan52021-04-20
|
* Fix ignored OpenGLES2 include path and cmake warningsfan52021-04-16
|
* Buildbot changes to allow out-of-tree builds (#11180)sfan52021-04-11
| | | | | | | * Do proper out-of-tree builds with buildbot * Don't write to bin/ for cross builds * This allows safely building multiple builds from the same source dir, e.g. with the buildbot. * Disable Gettext (by default) and Freetype (entirely) for server builds
* Replace fallback font nonsense with automatic per-glyph fallback (#11084)sfan52021-03-29
|
* Clean up cmake DLL installation and other minor thingssfan52021-03-12
|
* Switch Irrlicht dependency to our own forksfan52021-03-09
| | | | -> https://github.com/minetest/irrlicht
* Handle changes caused by CMake minimum version bump (#10859)sfan52021-01-29
| | | fixes #10806
* Fix some minor code issues all over the placesfan52020-12-24
|
* Mark additional locales as brokensfan52020-11-10
|
* Update fallback font to newer versionsfan52020-11-10
|
* Improve MSVC cmake and update vcpkg instruction (#10407)k.h.lai2020-09-29
| | | | Remove unnecessary compiler flag for clang-cl Update vcpkg instruction in README.md
* Complete Haiku platform support. (#10311)David CARLIER2020-08-23
| | | | | Fixing linkage/libraries missing issue. Implements missing platform specifics.
* Cleanup of particle & particlespawner structures and code (#9893)sfan52020-05-22
|
* Fix gettext detection and locale building (#9772)Juozas2020-04-29
| | | broken since a368e7e
* Add MetricsBackend with prometheus counter supportLoic Blot2020-04-29
|
* Remove /LTCG from when compiling with clang-cl (#9765)k.h.lai2020-04-27
| | | | Remove /LTCG from CMAKE_EXE_LINKER_FLAGS_RELEASE when compiling with clang on Windows
* Add an option to disable unittest build, & disable them on Docker build (#9677)Loïc Blot2020-04-16
|
* Drop -Wabi useless flag (#9676)Loïc Blot2020-04-16
|
* Swap out -ffast-math for a safe subset of optimization flags (#9682)sfan52020-04-16
| | | | It caused more trouble than its worth. fixes #3943, fixes #5330
* Refactor texture overrides and add new features (#9600)Hugues Ross2020-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactor texture overrides, and add new features: - Texture overrides can support multiple targets in one line - Texture override files can have comment lines - Item images/wield images can be overridden * Formatting changes * Address soime feedback - Pass vectors by const reference - Log syntax errors as warnings - Remove 'C' prefix from TextureOverrideSource * Simplify override target checks with an inline helper function * make linter happy * Apply feedback suggestions Co-Authored-By: rubenwardy <rw@rubenwardy.com> * Remove remaining != 0 checks * Update copyright notice Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Implement DPI scaling for Windows (#9586)sfan52020-04-11
|
* Drop content_sao.{cpp,h}Loic Blot2020-04-11
| | | | | | | Move LuaEntitySAO to a new dedicated file Drop TestSAO (useless object) Drop the old static startup initialized SAO factory, which was pretty useless. This factory was using a std::map for 2 elements, now just use a simple condition owned by ServerEnvironment, which will be lightweight, that will also drop a one time useful test on each LuaEntitySAO creation. This should reduce server load on massive SAO creation
* Move serveractiveobject & unitsaoLoic Blot2020-04-11
| | | | | Move serverobject.{cpp,h} to server/serveractiveobject.{cpp,h} Move UnitSAO class to dedicated files
* Drop genericobject.{cpp,h} (#9629)Loïc Blot2020-04-10
| | | | | | | | | | * Drop genericobject.{cpp,h} This file is not for generic object but for ActiveObject message passing. Put ownership of the various commands to the right objects and cleanup the related code. * Protect ServerActiveObject::m_messages_out * typo fix
* Work around LuaJIT issues on aarch64 (#9614)sfan52020-04-08
| | | | - Move the text segment below the 47-bit limit, needed for script_exception_wrapper which must be lightuserdata - Replace CUSTOM_RIDX_SCRIPTAPI with full userdata
* Fix linking failures when compiled with Clang 9sfan52020-03-05
|
* CMakeLists: Remove some redundant declarations and flagssfan52020-01-23
|
* Organize and sort out some library dependency issuessfan52020-01-23
|
* Remove zh_* from GETTEXT_BLACKLISTED_LOCALES (#9229)Zaoqi2020-01-22
|
* Move Quicktune code to util/ (#8871)ANAND2019-09-29
|
* Fix breakage of non-GLES2 setups (#8774)Jozef Behran2019-08-10
| | | | | | | | | | | The commit 526a9e4b66abaf83eb6b1aaa3e93375acd87b830 breaks the non-GLES2 setups because the code that is intended to handle that is behind "elseif()" which is interpreted as "elseif(false)" and thus the code never gets executed. Fix that by changing the offending line to else(). Additionally, to avoid breaking the server only build (which shall not have a dependency on GL/GLU/GLES at all), enclose the entire block code in if(BUILD_CLIENT).
* Let ENABLE_GLES appear in cmake_config.h and change its functionalitysfan52019-08-04
|
* Add compatibility to vcpkg buildsystem (#8317)adrido2019-06-10
|
* Find PostgreSQL correctly (#8435)adrido2019-04-07
|
* Don't include and link to gettext if gettext is not found (#8305)adrido2019-03-02
|
* DragonFly BSD is somewhat identical to FreeBSD (#8159)Leonid Bobrov2019-02-03
|
* Revert "Fix another GCC warning"Loïc Blot2018-12-04
| | | | This reverts commit e6811184d5824bf7d8febc157495dbecd3e4e0f7.
* Fix another GCC warningLoïc Blot2018-12-04
| | | | | | | | | ``` [ 10%] Building CXX object src/CMakeFiles/minetest.dir/client/render/interlaced.cpp.o cc1plus: warning: -Wabi won't warn about anything [-Wabi] cc1plus: note: -Wabi warns about differences from the most up-to-date ABI, which is also used by default cc1plus: note: use e.g. -Wabi=11 to warn about changes from GCC 7 ```
* Move client-specific files to 'src/client' (#7902)Quentin Bazin2018-11-28
| | | | | Update Android.mk Remove 'src/client' from include_directories
* Windows: Cpack wix installer (#6153)adrido2018-10-26
| | | | | | Create CPack WIX msi Installer for RUN_IN_PLACE=0 builds Correct paths on Windows for RUN_IN_PLACE=0 Install only required font files Games have their own components, and "minimal" is optional
* Make OpenGL preference configurable, default to LEGACY (#7666)SmallJoker2018-09-22
| | | | | This partially reverts 1ec5028 Add option OPENGL_GL_PREFERENCE
* Set OpenGL preference to GLVNDShadowNinja2018-08-18
| | | | This silences a CMake warning introduced in CMAKE 3.11.
* Set ENABLE_GETTEXT to TRUE by default (#7415)Wuzzy2018-06-05
|
* Add online content repositoryrubenwardy2018-04-19
| | | | Replaces mods and texture pack tabs with a single content tab