summaryrefslogtreecommitdiff
path: root/README.txt
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-20 00:37:37 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-03-20 00:37:37 +0200
commit2a325de7aa943ea2a50cc4190b78c4a72529192d (patch)
tree991b8bba5588028bfa8c03148d823185dacc4616 /README.txt
parentb9cc0a7976958e6df3dd6c07dbe6fc3315d25bec (diff)
downloadminetest-2a325de7aa943ea2a50cc4190b78c4a72529192d.tar.gz
minetest-2a325de7aa943ea2a50cc4190b78c4a72529192d.tar.bz2
minetest-2a325de7aa943ea2a50cc4190b78c4a72529192d.zip
Update vc10 build script example in README.txt
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/README.txt b/README.txt
index b9bc82e65..6e8889e89 100644
--- a/README.txt
+++ b/README.txt
@@ -185,18 +185,29 @@ Compiling on Windows:
Windows releases of minetest are built using a bat script like this:
--------------------------------------------------------------------
+set sourcedir=%CD%
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%
+if %errorlevel% neq 0 goto fail
"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" ALL_BUILD.vcxproj /p:Configuration=Release
+if %errorlevel% neq 0 goto fail
"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" INSTALL.vcxproj /p:Configuration=Release
+if %errorlevel% neq 0 goto fail
"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" PACKAGE.vcxproj /p:Configuration=Release
+if %errorlevel% neq 0 goto fail
+popd
+echo Finished.
+exit /b 0
+
+:fail
popd
+echo Failed.
+exit /b 1
License of Minetest-c55 textures and sounds
-------------------------------------------