2013-11-08 21:13:05 +00:00
|
|
|
@echo OFF
|
|
|
|
|
2007-07-16 15:40:11 +00:00
|
|
|
bin\Prebuild.exe /target nant
|
2013-11-08 21:13:05 +00:00
|
|
|
bin\Prebuild.exe /target vs2010
|
|
|
|
|
|
|
|
setlocal ENABLEEXTENSIONS
|
|
|
|
set KEY_NAME="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0"
|
|
|
|
set VALUE_NAME=MSBuildToolsPath
|
|
|
|
|
|
|
|
FOR /F "usebackq skip=4 tokens=1-3" %%A IN (`REG QUERY %KEY_NAME% /v %VALUE_NAME% 2^>nul`) DO (
|
|
|
|
set ValueName=%%A
|
|
|
|
set ValueType=%%B
|
|
|
|
set ValueValue=%%C
|
|
|
|
)
|
|
|
|
|
|
|
|
if defined ValueName (
|
|
|
|
@echo Value Name = %ValueName%
|
|
|
|
@echo Value Type = %ValueType%
|
|
|
|
@echo Value Value = %ValueValue%
|
|
|
|
) else (
|
|
|
|
@echo %KEY_NAME%\%VALUE_NAME% not found.
|
|
|
|
)
|
2008-03-14 14:54:50 +00:00
|
|
|
|
2013-11-08 21:13:05 +00:00
|
|
|
@echo %ValueValue%\msbuild opensim.sln > compile.bat
|