aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/runprebuild.bat
diff options
context:
space:
mode:
authorMelanie Thielker2014-06-21 00:39:55 +0200
committerMelanie Thielker2014-06-21 00:39:55 +0200
commit159fcbf150b7da0e229b29aa7b94793484543d12 (patch)
treeb8c0ff3b4c758a3fba8315b556c923ef4c02a185 /runprebuild.bat
parentMerge commit '68c8633ba18f0a11cfc0ed04d1d0c7c59e6cec76' (diff)
parentMerge branch 'master' into careminster (diff)
downloadopensim-SC_OLD-159fcbf150b7da0e229b29aa7b94793484543d12.zip
opensim-SC_OLD-159fcbf150b7da0e229b29aa7b94793484543d12.tar.gz
opensim-SC_OLD-159fcbf150b7da0e229b29aa7b94793484543d12.tar.bz2
opensim-SC_OLD-159fcbf150b7da0e229b29aa7b94793484543d12.tar.xz
Merge branch 'master' of ssh://3dhosting.de/var/git/careminster
Conflicts: OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
Diffstat (limited to 'runprebuild.bat')
-rwxr-xr-xrunprebuild.bat30
1 files changed, 28 insertions, 2 deletions
diff --git a/runprebuild.bat b/runprebuild.bat
index 9265391..5f75982 100755
--- a/runprebuild.bat
+++ b/runprebuild.bat
@@ -1,4 +1,30 @@
1@echo OFF
2
1bin\Prebuild.exe /target nant 3bin\Prebuild.exe /target nant
2bin\Prebuild.exe /target vs2008 4bin\Prebuild.exe /target vs2010
3echo C:\WINDOWS\Microsoft.NET\Framework\v3.5\msbuild OpenSim.sln > compile.bat 5
6setlocal ENABLEEXTENSIONS
7set KEY_NAME="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0"
8set VALUE_NAME=MSBuildToolsPath
9
10rem We have to use find here as req query spits out 4 lines before Windows 7
11rem But 2 lines after Windows 7. Unfortunately, this screws up cygwin
12rem as it uses its own find command. This could be fixed but it could be
13rem complex to find the location of find on all windows systems
14FOR /F "usebackq tokens=1-3" %%A IN (`REG QUERY %KEY_NAME% /v %VALUE_NAME% 2^>nul ^| FIND "%VALUE_NAME%"`) DO (
15 set ValueName=%%A
16 set ValueType=%%B
17 set ValueValue=%%C
18)
4 19
20if defined ValueName (
21 @echo Found msbuild path registry entry
22 @echo Value Name = %ValueName%
23 @echo Value Type = %ValueType%
24 @echo Value Value = %ValueValue%
25 @echo Creating compile.bat
26 @echo %ValueValue%\msbuild opensim.sln > compile.bat
27) else (
28 @echo %KEY_NAME%\%VALUE_NAME% not found.
29 @echo Not creating compile.bat
30)