diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-10-16 03:08:11 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-10-16 03:08:11 +0300 |
commit | a17abae1288eddee9ebf286b9a4ae7fa1bd53586 (patch) | |
tree | fad7b99c05fec7684d421cf7c4e60d806ef8419c /doc | |
parent | 286edd4f1e06a9a4fd8fbc3ba78b2641f5e38137 (diff) | |
download | minetest-a17abae1288eddee9ebf286b9a4ae7fa1bd53586.tar.gz minetest-a17abae1288eddee9ebf286b9a4ae7fa1bd53586.tar.bz2 minetest-a17abae1288eddee9ebf286b9a4ae7fa1bd53586.zip |
Update Linux build instructions in README.txt a bit and list the bat script used for releases
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.txt | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/doc/README.txt b/doc/README.txt index 645e2a560..6ae236556 100644 --- a/doc/README.txt +++ b/doc/README.txt @@ -53,12 +53,12 @@ Compiling on GNU/Linux: ----------------------- Install dependencies. Here's an example for Debian/Ubuntu: -$ apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev +$ apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev Download source, extract (this is the URL to the latest of source repository, which might not work at all times): -$ wget https://bitbucket.org/celeron55/minetest/get/tip.tar.gz -$ tar xf tip.tar.gz -$ cd minetest +$ wget https://github.com/celeron55/minetest/tarball/master -O master.tar.gz +$ tar xf master.tar.gz +$ cd celeron55-minetest-286edd4 (or similar) Build a version that runs directly from the source directory: $ cmake . -DRUN_IN_PLACE=1 @@ -163,6 +163,22 @@ Compiling on Windows: - You should now have a working game with the executable in DIR/minetest/bin/minetest.exe +Windows releases of minetest are built using a bat script like this: +-------------------------------------------------------------------- + +set installpath="C:\tmp\minetest_install" +set irrlichtpath="C:\tmp\irrlicht-1.7.2" + +set sourcedir=%CD% +set builddir=%sourcedir%\bvc10 +mkdir %builddir% +pushd %builddir% +cmake %sourcedir% -G "Visual Studio 10" -DIRRLICHT_SOURCE_DIR=%irrlichtpath% -DRUN_IN_PLACE=1 -DCMAKE_INSTALL_PREFIX=%installpath% +"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" ALL_BUILD.vcxproj /p:Configuration=Release +"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" INSTALL.vcxproj /p:Configuration=Release +"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" PACKAGE.vcxproj /p:Configuration=Release +popd + License of Minetest-c55 ----------------------- |