Commit Graph

201 Commits

Author SHA1 Message Date
JosiahWI
38ba813c55
Add variable to use existing IrrlichtMt build (#11656)
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2021-10-31 22:33:11 +00:00
nia
2dc73d239a
Use CMake's GNUInstallDirs for install directories on Unix (#11636)
This makes the installation process honor system-specific
directories (e.g. ${PREFIX}/man instead of ${PREFIX}/share/man on
BSD).
2021-09-26 18:04:30 +02:00
20kdc
a3e32d81c5
Add hint to error message on how to build with in-tree Irrlicht 2021-09-05 19:57:40 +02:00
JosiahWI
ef84c3b8b9
Set policies through CMake 3.9 to allow enabling IPO (#11560) 2021-08-23 22:13:47 +02:00
sfan5
fad835cf64
Fix server-only builds on older CMake versions (#11566)
closes #11564
2021-08-23 13:33:25 +02:00
sfan5
a72d13064f Allow lib/irrlichtmt to work for server builds (headers-only) 2021-08-21 13:53:59 +02:00
JosiahWI
cf136914cf
Take advantage of IrrlichtMt CMake target (#11287)
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-27 19:11:27 +02:00
NeroBurner
fa4dee0e62
Use user provided lib/irrlichtmt if available (#11276)
Use user provided lib/irrlichtmt if available

Make it possible for a user to provide the IrrlichtMt dependency as
subdirectory at `lib/irrlichtmt`.
The subdirectory is added with the `EXCLUDE_FROM_ALL` flag to prevent
`libirrlichtmt.a` or other header files to be installed.

This enables the user to do the following to satisfy the IrrlichtMt
dependency:

git clone --depth 1 https://github.com/minetest/irrlicht.git lib/irrlichtmt
cmake . -DRUN_IN_PLACE=TRUE
2021-06-29 10:57:19 +03:00
Wuzzy
776015c350
Rename “Irrlicht” to “IrrlichtMt” in documentation 2021-04-23 21:37:45 +02:00
sfan5
5f4c78a77d Fix broken include check and correct Gitlab-CI script 2021-03-26 23:12:19 +01:00
sfan5
bb1c4badfb Clean up cmake DLL installation and other minor things 2021-03-12 20:55:51 +01:00
sfan5
91c9313c87 Switch Irrlicht dependency to our own fork
-> https://github.com/minetest/irrlicht
2021-03-09 21:53:17 +01:00
sfan5
dcb30a593d Set ENABLE_SYSTEM_JSONCPP to TRUE by default 2021-03-07 14:26:09 +01:00
sfan5
02d64a51ee Continue with 5.5.0-dev 2021-02-23 19:50:44 +01:00
sfan5
f3e51dca15 Bump version to 5.4.0 2021-02-23 19:50:37 +01:00
sfan5
9c91cbf50c
Handle changes caused by CMake minimum version bump (#10859)
fixes #10806
2021-01-29 17:35:29 +01:00
sfan5
74762470b2 Fix some minor code issues all over the place 2020-12-24 13:44:54 +01:00
LoneWolfHT
d5a481b4e6
Make installer create its own Minetest folder (#10445)
This changes the installer to create its own Minetest folder instead of having the user create it themselves. This prevents spewing the contents of Minetest everywhere when users change the install directory and expect the installer to create a folder to put it in
2020-12-18 19:38:27 +01:00
LoneWolfHT
d3e327a853
Update wording of game descriptions in installer (#10441) 2020-09-29 19:39:36 +02:00
sfan5
2384c10e10 Continue with 5.4.0-dev 2020-07-09 22:04:22 +02:00
sfan5
057f0b82c2 Bump version to 5.3.0 2020-07-09 22:04:20 +02:00
Wuzzy
083b285f43
Rename “Minimal development test” to “Development Test” (#9928) 2020-05-26 00:17:52 +02:00
Loïc Blot
7539267d37
Add an option to disable unittest build, & disable them on Docker build (#9677) 2020-04-16 20:43:49 +02:00
Hugo Locurcio
2349d31bae
Install the locale directory in a standard location without subfolder (#9618)
Other established FOSS projects don't seem to be doing this.
2020-04-10 16:08:48 +02:00
sfan5
528b162d9f Continue with 5.3.0-dev 2020-04-05 18:31:52 +02:00
sfan5
24147d99c0 Bump version to 5.2.0 2020-04-05 18:31:50 +02:00
sfan5
b5f5e00b29 Install client_lua_api.txt documentation too
fixes #9104
2019-11-11 14:06:48 +01:00
sfan5
b7e358703f Don't install fonts on ENABLE_CLIENT=0 configurations 2019-10-14 21:24:23 +02:00
sfan5
894008ce6f Continue with 5.2.0-dev 2019-10-12 15:49:06 +02:00
sfan5
4e4fb4db2a Bump version to 5.1.0 2019-10-12 15:48:58 +02:00
ANAND
66ecfb5916 CMakeLists.txt: Remove references to Minecraft and Infiniminer (#8487) 2019-04-26 19:07:32 +02:00
sfan5
51662dabb4 Continue with 5.1.0-dev 2019-03-04 23:43:18 +01:00
sfan5
f9d1810b1e Bump version to 5.0.0 2019-03-04 23:43:14 +01:00
adrido
2322078fe4 Windows: Cpack wix installer (#6153)
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
2018-10-26 21:37:51 +02:00
Loïc Blot
ac6e8e2914
Version scheme change: 0.5.0 -> 5.0.0 (#7449)
* Version scheme change: 0.5.0 -> 5.0.0
2018-06-15 09:16:48 +02:00
Loïc Blot
b28af0ed07 Verify compiler version before building anything (#6293)
GCC 4.9 and Clang 3.4 are the minimum
2017-08-24 17:16:55 +02:00
Loïc Blot
c99dcbaca9 New version scheme (#6292)
* Version changes: current dev version is now 0.5.0

* This change permit to have multi branches with various versions
* Dev version is 0.5.0-dev and next release will be 0.5.0
2017-08-20 17:20:11 +02:00
rubenwardy
a039d981ac Change README to Markdown format, add LICENSE.txt (#6244) 2017-08-18 10:47:40 +02:00
sfan5
4783ff956b Update list of installed files concerning server and non-RUN_IN_PLACE builds (#5976)
* mods/mods_here.txt should be present on servers
* client/serverlist/ can be omitted for RUN_IN_PLACE=0
* clientmods/ is not used on servers
2017-06-14 08:04:39 +02:00
Loic Blot
bf6569b570 Minetest for C++11 (CMakeLists + Travis)
* Move GCC to GCC 6 & GCC 7
* Move Clang to Clang 3.6 & Clang 4.0
* LINT moves from Clang 3.9 to Clang 4.0
* Move XCode 7.3 to 8.0
* Use more travis tricks to install compilers instead of adding complexity to our build script
* Clang format fixes on checked files (compat Cpp11 instead of Cpp03)
* Mingw GCC update from 4.8.4 to 5.3 (Ubuntu Xenial)
* Drop mingw cmake generated files and add them to gitignore
2017-06-04 09:57:08 +02:00
ShadowNinja
63ca71e9d2 Continue with 0.4.16-dev 2017-06-03 14:42:10 -04:00
ShadowNinja
80dc961d24 Bump version to 0.4.16 2017-06-03 14:42:10 -04:00
bigfoot547
287605ca81 Append -debug to version string (#5765) 2017-05-17 09:41:41 +02:00
Loic Blot
ff4fef570e
Fix cmake library default build problem since moving to lib/
Also make Lua library check a cmake module
2017-04-07 23:56:02 +02:00
adrido
676951d90d Windows: Skip cmd for release builds (#5416) 2017-04-07 07:14:39 +02:00
Loïc Blot
86b1542181 Update embedded jsoncpp from unk version to 0.10.6 + move libs to lib/ 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
2017-04-02 10:51:50 +02:00
Loïc Blot
92b45b2a18 [CSM] implement client side mod loading (#5123)
* client side mods are located in clientmods/
* move builtin/preview.lua to clientmods/preview/init.lua as a preview mod
* refactor ModConfiguration class to work properly with client and server using child objects
* move some Server constructor mod load code to ModConfiguration to reduce code duplication between client and server
* remove mods.{cpp,h} unused functions
* use UNORDERED_SET instead of std::set in some modspec storages
2017-03-13 23:56:05 +01:00
Juhani Numminen
0e27b4b978 Update .appdata and .desktop files 2017-03-05 20:56:20 +01:00
sfan5
a95f983ea8 Continue with 0.4.15-dev 2016-12-22 23:14:17 +01:00
sfan5
231ac33d34 Bump version to 0.4.15 2016-12-22 23:14:17 +01:00