aboutsummaryrefslogtreecommitdiff
path: root/cmake/Modules
AgeCommit message (Collapse)Author
2018-06-26Fix libgmp detection (#7488)Leonid Bobrov
2018-05-08Fix luajit include not being foundrubenwardy
2017-10-30Initial Haiku support (#6568)miqlas
* Iitial Haiku support
2017-04-07Fix cmake library default build problem since moving to lib/Loic Blot
Also make Lua library check a cmake module
2017-04-02Update embedded jsoncpp from unk version to 0.10.6 + move libs to lib/ ↵Loïc Blot
instead of src/ (#5473) * Update embedded jsoncpp from unk version to 0.10.6 0.10.6 is last release without c++11 * Make jsoncpp more compliant with its amalgamate Jsoncpp cpp file should be upper, make the library like it does in amalgamate * Reorganization: move minetest embedded libs outside of source tree to /lib * Fix a dead grep in LINT
2016-08-10Fixes for compiling with a newer (system) jsoncpp (#4429)Rogier-5
* Move included json code to jsoncpp subdirectory This is needed to avoid having to specify the minetest src directory as a system include when fixing the json includes. * Fix json includes They used "", so that the compiler searches the project's directory first. The result was that when compiling with a system jsoncpp, the project's own version of json.h was still included, instead of the system version. The includes now use <>, so a system location, or one specified with '-Ilocation' is searched only. * Fix for jsoncpp deprecated function warning When compiling with a newer version of jsoncpp (and ENABLE_SYSTEM_JSONCPP=true), jsoncpp emits a warning about a deprecated function that minetest uses.
2016-05-16Really fix ncurses lookup on Arch Linuxsfan5
Commit 27ee8d8943080a5dd735c9faa47c726604bafdff forgot to add the paths without ncursesw/ to the find_path() call
2016-04-08Fix ncurses lookup on Arch LinuxDavid Knapp
Arch Linux doesn't put it's ncursesw includes inside an ncursesw directory. This script ends up setting USE_CURSES as true, but doesn't pick up any of the headers. https://bugs.archlinux.org/task/13994
2015-12-05Improve LuaJIT detectionFerdinand Thiessen
On openSUSE luajit is not detected correctly. This is because openSUSE is using a lua version suffix, like other Linux distributions do it also. So the include directory is: include/luajit-5_1-2.0
2015-11-06Add server side ncurses terminalest31
This adds a chat console the server owner can use for administration or to talk with players. It runs in its own thread, which makes the user interface immune to the server's lag, behaving just like a client, except timeout. As it uses the same console code as the f10 console, things like nick completion or a scroll buffer basically come for free. The terminal itself is written in a general way so that adding a client version later on is just about implementing an interface. Fatal errors are printed after the console exists and the ncurses terminal buffer gets cleaned up with endwin(), so that the error still remains visible. The server owner can chose their username their entered text will have in chat and where players can send PMs to. Once the username is secured with a password to prevent anybody to take over the server, the owner can execute admin tasks over the console. This change includes a contribution by @kahrl who has improved ncurses library detection.
2015-09-26FindJson: use PATH_SUFFIXES jsoncpp to find incdirIgor Gnatenko
For example, on Fedora systems jsoncpp headers is installed in `/usr/include/jsoncpp`.
2015-05-11Add LibGMPest31
Uses system provided libgmp if found, if not it falls back to mini-gmp.
2015-05-05Make Git version detection use VERSION_STRING instead of tagsShadowNinja
This fixes the problem where 0.4.12-dev versions were erroneously shown as 0.4.11-dev because the tag was added on a separate branch. It also fixes a similar issue when builders didn't fetch new tags when updating. This also removes the number-of-commits-since-tag field, since it's incompatible with this. Said field doesn't seem to be useful anyway if you have the commit hash.
2015-05-03Better version detection for shallow clonesest31
2015-03-27Fix typo in OpenGL ES 2 CMake fileShadowNinja
2015-03-27Clean up and tweak build systemShadowNinja
* Combine client and server man pages. * Update unit test options and available databases in man page. * Add `--worldname` to man page. * Fix a bunch of places where `"Minetest"` was used directly instead of `PROJECT_NAME`. * Disable server build by default on all operating systems. * Make `ENABLE_FREETYPE` not fail if FreeType isn't found. * Enable LevelDB, Redis, and FreeType detection by default. * Remove the `VERSION_PATCH_ORIG` hack. * Add option to search for and use system JSONCPP. * Remove broken LuaJIT version detection. * Rename `DISABLE_LUAJIT` to `ENABLE_LUAJIT`. * Rename `minetest_*` variables in `version.{h,cpp}` to `g_*`. * Clean up style of CMake files.
2015-03-23Fix cmake po detection bugest31
Previously, cmake po detection would treat the "timestamp" file created by building for android as own language directory.
2015-02-21Improve FindIrrlicht.cmake moduleMarkus Koschany
Linux distributions prefer to link against a shared version of the Irrlicht engine instead of using embedded code copies of the same. Search for this shared version first and use that but fall back to the static version if it does not exist. This also fixes https://github.com/minetest/minetest/issues/2163
2015-01-08Remove included SQLite3ShadowNinja
2014-06-29OS X compatibility fixesMartin Doege
2013-11-17Add CURL_DLL search to show up CURL_DLL in cmake gui and don't silently ↵sapier
ignore missing CURL_DLL
2013-09-28Show git hash in version string at top left corner of windowKahrl
2013-09-15Always use builtin JThread librarykwolekr
2013-03-16build with ogles2 driverproller
2013-03-05fix link if system json lib existsproller
2013-02-22new auto masterserverproller
2012-12-21Prefer shared cURL library instead of the static one.Ilya Zhuravlev
2012-12-18Tweak CMake files for cURLsfan5
2012-12-16Added ability to fetch media from remote server (using cURL library)Ilya Zhuravlev
2012-03-25Add OGG_INCLUDE_DIR to SOUND_INCLUDE_DIRSPerttu Ahola
2012-03-24celeron55's sound system initial frameworkPerttu Ahola
2012-03-20Flatten share/ and user/ in the source and for the RUN_IN_PLACE buildPerttu Ahola
2011-08-11Gettext fix for *BSD - require special linkage as glibc is not usedq66
2011-07-24Locale dir should be parallel to global data dirGiuseppe Bilotta
2011-07-24Bring po update out of cmake againGiuseppe Bilotta
This solves two issues at once: * CMake would delete po files during ‘make clean’ because it thought they were autogenerated and not just managed * the only gettext tools readily available in Windows are so old they don't support options like --package-name The change also moves minetest.pot down one level, so we don't need to special case ‘en’ anymore. The downside is of course that you need some sane POSIX shell to update the po files.
2011-07-23updated cmakerules to autodetect if gettext can be usedConstantin Wenger
fixed error if gettext is disabled
2011-07-22updatepo cmake ruleGiuseppe Bilotta
Get rid of the system-specific updatelocales.sh and introduce an updatepo cmake rule. po files are also updated before creating the mo files, and we now keep the .pot file (in the po/en directory). To stabilize the po file creation, file contents are sorted by source filename. Update po files in the process.
2011-07-22Refactor mo creation/installationGiuseppe Bilotta
2011-07-21fixed not finding dll for gettext in MSVCConstantin Wenger
2011-07-21Find correct library for MSVC vs MingW in WinowsGiuseppe Bilotta
2011-07-21updated some path because the dlls are mostly under bin not libConstantin Wenger
added explanation why libintl must not belinked under some oses
2011-07-21Refactor and clean up gettext managementGiuseppe Bilotta
2011-07-20Use system sqlite3/jthread libs if availableGiuseppe Bilotta
2011-05-17Added libIrrlicht.dll.a to searched library names for non-MSVC windowsPerttu Ahola
2011-02-16forgot some test code in...Perttu Ahola
2011-02-16Hopefully fixed some of the errors in cmake's finding of irrlichtPerttu Ahola
2011-02-15might work good on cmake+msvc nowPerttu Ahola
2011-02-01Hopefully fixed the problem of IRRLICHT_SOURCE_DIR being not considered when ↵Perttu Ahola
a local version of irrlicht is found.
2011-01-09Mainly small build system fixesPerttu Ahola
2011-01-08CMake stuff works now on linux and windows... and should be possible to make ↵Perttu Ahola
to work on OS X.