aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/runprebuild.bat
diff options
context:
space:
mode:
Diffstat (limited to 'runprebuild.bat')
-rwxr-xr-xrunprebuild.bat24
1 files changed, 22 insertions, 2 deletions
diff --git a/runprebuild.bat b/runprebuild.bat
index 8927e9a..0fd7bbf 100755
--- a/runprebuild.bat
+++ b/runprebuild.bat
@@ -1,4 +1,24 @@
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
10FOR /F "usebackq skip=4 tokens=1-3" %%A IN (`REG QUERY %KEY_NAME% /v %VALUE_NAME% 2^>nul`) DO (
11 set ValueName=%%A
12 set ValueType=%%B
13 set ValueValue=%%C
14)
15
16if defined ValueName (
17 @echo Value Name = %ValueName%
18 @echo Value Type = %ValueType%
19 @echo Value Value = %ValueValue%
20) else (
21 @echo %KEY_NAME%\%VALUE_NAME% not found.
22)
4 23
24@echo %ValueValue%\msbuild opensim.sln > compile.bat