From c418644838e99416fb168066bacc28a4cbc36a04 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 7 Jul 2016 13:43:00 +0200 Subject: tracker/rs: allow batch file invocation from another working directory --- tracker-rs/rs_impl/build.bat | 2 +- tracker-rs/rs_impl/build_amd64.bat | 2 +- tracker-rs/rs_impl/build_wrapped.bat | 4 ++-- tracker-rs/rs_impl/build_x86.bat | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tracker-rs/rs_impl') diff --git a/tracker-rs/rs_impl/build.bat b/tracker-rs/rs_impl/build.bat index 5b6ae279..2a87f584 100644 --- a/tracker-rs/rs_impl/build.bat +++ b/tracker-rs/rs_impl/build.bat @@ -1,2 +1,2 @@ -@cmd /c .\build_wrapped.bat +@cmd /c %~dp0\build_wrapped.bat @pause \ No newline at end of file diff --git a/tracker-rs/rs_impl/build_amd64.bat b/tracker-rs/rs_impl/build_amd64.bat index 34553fd8..f2b9acbd 100644 --- a/tracker-rs/rs_impl/build_amd64.bat +++ b/tracker-rs/rs_impl/build_amd64.bat @@ -1,4 +1,4 @@ @set path=%vs_dir%;%path% call vcvarsall %vs_64% @if %errorlevel% neq 0 exit 1 -CL /nologo /Ox /DUNICODE /D_UNICODE /DEXPORT_RS_IMPL /MT /I "%RSSDK_DIR%\opensource\include" ftnoir_tracker_rs_impl.cpp "%RSSDK_DIR%\opensource\src\libpxc\libpxc.cpp" /link ADVAPI32.LIB /DLL /OUT:bin\opentrack-tracker-rs-impl_amd64.dll \ No newline at end of file +CL /nologo /Ox /DUNICODE /D_UNICODE /DEXPORT_RS_IMPL /MT /I "%RSSDK_DIR%\opensource\include" %~dp0\ftnoir_tracker_rs_impl.cpp "%RSSDK_DIR%\opensource\src\libpxc\libpxc.cpp" /link ADVAPI32.LIB /DLL /OUT:%~dp0\bin\opentrack-tracker-rs-impl_amd64.dll \ No newline at end of file diff --git a/tracker-rs/rs_impl/build_wrapped.bat b/tracker-rs/rs_impl/build_wrapped.bat index e3679321..2f547e95 100644 --- a/tracker-rs/rs_impl/build_wrapped.bat +++ b/tracker-rs/rs_impl/build_wrapped.bat @@ -6,5 +6,5 @@ set vs_64=amd64 ) -cmd /c .\build_x86.bat -cmd /c .\build_amd64.bat \ No newline at end of file +cmd /c %~dp0\build_x86.bat +cmd /c %~dp0\build_amd64.bat \ No newline at end of file diff --git a/tracker-rs/rs_impl/build_x86.bat b/tracker-rs/rs_impl/build_x86.bat index 289e2e2f..b35b44b3 100644 --- a/tracker-rs/rs_impl/build_x86.bat +++ b/tracker-rs/rs_impl/build_x86.bat @@ -1,4 +1,4 @@ @set path=%vs_dir%;%path% call vcvarsall x86 @if %errorlevel% neq 0 exit 1 -CL /nologo /Ox /DUNICODE /D_UNICODE /DEXPORT_RS_IMPL /MT /I "%RSSDK_DIR%\opensource\include" ftnoir_tracker_rs_impl.cpp "%RSSDK_DIR%\opensource\src\libpxc\libpxc.cpp" /link ADVAPI32.LIB /DLL /OUT:bin\opentrack-tracker-rs-impl.dll \ No newline at end of file +CL /nologo /Ox /DUNICODE /D_UNICODE /DEXPORT_RS_IMPL /MT /I "%RSSDK_DIR%\opensource\include" %~dp0\ftnoir_tracker_rs_impl.cpp "%RSSDK_DIR%\opensource\src\libpxc\libpxc.cpp" /link ADVAPI32.LIB /DLL /OUT:%~dp0\bin\opentrack-tracker-rs-impl.dll \ No newline at end of file -- cgit v1.2.3