summaryrefslogtreecommitdiffhomepage
path: root/tracker-rs
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-07-07 13:43:00 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-07-07 13:43:00 +0200
commitc418644838e99416fb168066bacc28a4cbc36a04 (patch)
tree3ea154cfe951ba7cea2967b97d76d544fb313d0a /tracker-rs
parent472deb7e29ef0324eaf24047777615a4b4e9bcad (diff)
tracker/rs: allow batch file invocation from another working directory
Diffstat (limited to 'tracker-rs')
-rw-r--r--tracker-rs/rs_impl/build.bat2
-rw-r--r--tracker-rs/rs_impl/build_amd64.bat2
-rw-r--r--tracker-rs/rs_impl/build_wrapped.bat4
-rw-r--r--tracker-rs/rs_impl/build_x86.bat2
4 files changed, 5 insertions, 5 deletions
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