diff options
Diffstat (limited to 'build-msvc.bat')
-rw-r--r-- | build-msvc.bat | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/build-msvc.bat b/build-msvc.bat index 2f0ed6b..e9416a3 100644 --- a/build-msvc.bat +++ b/build-msvc.bat @@ -8,7 +8,8 @@ goto start :usage echo. -echo Usage: %0 [/?] [^<options^>] [^<cl-compiler^>] +rem echo Usage: %0 [/?] [^<options^>] [^<cl-compiler^>] +echo Usage: %0 [/?] [^<options^>] echo Options: echo --local Don't build from packages, only from local source. echo --install-dir ^<dir^> Alternative installation directory. @@ -140,6 +141,10 @@ rem ) else ( rem set "cxx=%1" rem ) +rem Convert a relative path to an absolute. +rem +for /F "delims=|" %%D in ("%idir%") do set "idir=%%~dpnxD" + rem Certificate to trust. rem if not "_%trust%_" == "__" ( |