aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
AgeCommit message (Collapse)Author
2021-11-26Add Lua bitop library (#9847)Lejo
2021-10-31Automatically package MinGW runtime in buildbotsfan5
2021-09-26Touch UI support for desktop builds (#10729)TheBrokenRail
2021-09-01Don't look for zlib and zstd manually on Windowssfan5
2021-08-31Switch MapBlock compression to zstd (#10788)lhofhansl
* Add zstd support. * Rearrange serialization order * Compress entire mapblock Co-authored-by: sfan5 <sfan5@live.de>
2021-07-27Take advantage of IrrlichtMt CMake target (#11287)JosiahWI
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.
2021-07-20Fix no locales being generated when APPLY_LOCALE_BLACKLIST=0sfan5
Also enable `ky` which appears to work fine.
2021-05-15Use --image-base instead of -Ttext-segment for lld linker on FreeBSD (#9367) ↵Dmitry Marakasov
(#11263)
2021-05-05Use Irrlicht functions to query npot texture supportsfan5
2021-04-21Fix two CMake build issuessfan5
* PostgreSQL fallback code missed the includes (closes #11219) * build failed when Freetype enabled but not found
2021-04-20Look for PostgreSQL library properly and fix CIsfan5
2021-04-16Fix ignored OpenGLES2 include path and cmake warningsfan5
2021-04-11Buildbot changes to allow out-of-tree builds (#11180)sfan5
* 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
2021-03-29Replace fallback font nonsense with automatic per-glyph fallback (#11084)sfan5
2021-03-12Clean up cmake DLL installation and other minor thingssfan5
2021-03-09Switch Irrlicht dependency to our own forksfan5
-> https://github.com/minetest/irrlicht
2021-01-29Handle changes caused by CMake minimum version bump (#10859)sfan5
fixes #10806
2020-12-24Fix some minor code issues all over the placesfan5
2020-11-10Mark additional locales as brokensfan5
2020-11-10Update fallback font to newer versionsfan5
2020-09-29Improve MSVC cmake and update vcpkg instruction (#10407)k.h.lai
Remove unnecessary compiler flag for clang-cl Update vcpkg instruction in README.md
2020-08-23Complete Haiku platform support. (#10311)David CARLIER
Fixing linkage/libraries missing issue. Implements missing platform specifics.
2020-05-22Cleanup of particle & particlespawner structures and code (#9893)sfan5
2020-04-29Fix gettext detection and locale building (#9772)Juozas
broken since a368e7e
2020-04-29Add MetricsBackend with prometheus counter supportLoic Blot
2020-04-27Remove /LTCG from when compiling with clang-cl (#9765)k.h.lai
Remove /LTCG from CMAKE_EXE_LINKER_FLAGS_RELEASE when compiling with clang on Windows
2020-04-16Add an option to disable unittest build, & disable them on Docker build (#9677)Loïc Blot
2020-04-16Drop -Wabi useless flag (#9676)Loïc Blot
2020-04-16Swap out -ffast-math for a safe subset of optimization flags (#9682)sfan5
It caused more trouble than its worth. fixes #3943, fixes #5330
2020-04-14Refactor texture overrides and add new features (#9600)Hugues Ross
* 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>
2020-04-11Implement DPI scaling for Windows (#9586)sfan5
2020-04-11Drop content_sao.{cpp,h}Loic Blot
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
2020-04-11Move serveractiveobject & unitsaoLoic Blot
Move serverobject.{cpp,h} to server/serveractiveobject.{cpp,h} Move UnitSAO class to dedicated files
2020-04-10Drop genericobject.{cpp,h} (#9629)Loïc Blot
* 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
2020-04-08Work around LuaJIT issues on aarch64 (#9614)sfan5
- 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
2020-03-05Fix linking failures when compiled with Clang 9sfan5
2020-01-23CMakeLists: Remove some redundant declarations and flagssfan5
2020-01-23Organize and sort out some library dependency issuessfan5
2020-01-22Remove zh_* from GETTEXT_BLACKLISTED_LOCALES (#9229)Zaoqi
2019-09-29Move Quicktune code to util/ (#8871)ANAND
2019-08-10Fix breakage of non-GLES2 setups (#8774)Jozef Behran
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).
2019-08-04Let ENABLE_GLES appear in cmake_config.h and change its functionalitysfan5
2019-06-10Add compatibility to vcpkg buildsystem (#8317)adrido
2019-04-07Find PostgreSQL correctly (#8435)adrido
2019-03-02Don't include and link to gettext if gettext is not found (#8305)adrido
2019-02-03DragonFly BSD is somewhat identical to FreeBSD (#8159)Leonid Bobrov
2018-12-04Revert "Fix another GCC warning"Loïc Blot
This reverts commit e6811184d5824bf7d8febc157495dbecd3e4e0f7.
2018-12-04Fix another GCC warningLoïc Blot
``` [ 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 ```
2018-11-28Move client-specific files to 'src/client' (#7902)Quentin Bazin
Update Android.mk Remove 'src/client' from include_directories
2018-10-26Windows: Cpack wix installer (#6153)adrido
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