summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorNeroBurner <pyro4hell@gmail.com>2021-06-29 09:57:19 +0200
committerGitHub <noreply@github.com>2021-06-29 10:57:19 +0300
commitfa4dee0e62dcf2bbfb68b17cf97e438eab58be93 (patch)
tree951a36caf1816c5b22ef79ccae679afdf51af016 /README.md
parent63fc728a84a5ba97240233ad1c5d94f1ade2deb1 (diff)
downloadminetest-fa4dee0e62dcf2bbfb68b17cf97e438eab58be93.tar.gz
minetest-fa4dee0e62dcf2bbfb68b17cf97e438eab58be93.tar.bz2
minetest-fa4dee0e62dcf2bbfb68b17cf97e438eab58be93.zip
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
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index 013687685..0cd134f27 100644
--- a/README.md
+++ b/README.md
@@ -177,6 +177,10 @@ Download minetest_game (otherwise only the "Development Test" game is available)
git clone --depth 1 https://github.com/minetest/minetest_game.git games/minetest_game
+Download IrrlichtMt to `lib/irrlichtmt`, it will be used to satisfy the IrrlichtMt dependency that way:
+
+ git clone --depth 1 https://github.com/minetest/irrlicht.git lib/irrlichtmt
+
Download source, without using Git:
wget https://github.com/minetest/minetest/archive/master.tar.gz
@@ -191,6 +195,14 @@ Download minetest_game, without using Git:
mv minetest_game-master minetest_game
cd ..
+Download IrrlichtMt, without using Git:
+
+ cd lib/
+ wget https://github.com/minetest/irrlicht/archive/master.tar.gz
+ tar xf master.tar.gz
+ mv irrlicht-master irrlichtmt
+ cd ..
+
#### Build
Build a version that runs directly from the source directory: