RetroShare/build_scripts/Windows/env.bat
thunder2 a35985e3fc Windows build environment:
- Added build script
- Added build-installer script
- Added pack script
- Added gitlog script
- Use shadow build
2016-10-04 09:24:48 +02:00

20 lines
326 B
Batchfile

call :make_path SourcePath "%~dp0..\.."
call :make_path RootPath "%SourcePath%\.."
call :source_name SourceName "%SourcePath%"
set ToolsPath=%~dp0tools
set EnvPath=%~dp0env
exit /B 0
:make_path
setlocal
set Var=%~1
pushd %2
set CD=%cd%
popd
endlocal & set %Var%=%CD%
goto :EOF
:source_name
set %~1=%~nx2