summaryrefslogtreecommitdiffhomepage
path: root/tracker-rs/rs_impl/build.bat
diff options
context:
space:
mode:
authorXavier Hallade <xavier.hallade@intel.com>2015-11-19 14:34:26 +0100
committerXavier Hallade <xavier.hallade@intel.com>2015-11-19 14:35:21 +0100
commit763da906a83b80eadb736008dbb558b809552505 (patch)
treed32c233d17ecd5f27afd30a9344f924c5af2f457 /tracker-rs/rs_impl/build.bat
parent411d85cf66d89696ba51f5bc44d92322613e2e9f (diff)
tracker-rs: updated RealSense SDK version to R5
Diffstat (limited to 'tracker-rs/rs_impl/build.bat')
-rw-r--r--tracker-rs/rs_impl/build.bat6
1 files changed, 5 insertions, 1 deletions
diff --git a/tracker-rs/rs_impl/build.bat b/tracker-rs/rs_impl/build.bat
index 15206431..3a44fed5 100644
--- a/tracker-rs/rs_impl/build.bat
+++ b/tracker-rs/rs_impl/build.bat
@@ -1,2 +1,6 @@
-cd "%VS120COMNTOOLS%\..\..\VC"
+IF DEFINED %VS120COMNTOOLS%] (
+ cd "%VS120COMNTOOLS%\..\..\VC"
+ ) ELSE (
+ cd "%VS140COMNTOOLS%\..\..\VC"
+ )
vcvarsall x64 && cd %~dp0 && CL /nologo /Ox /DUNICODE /D_UNICODE /MT /I"%RSSDK_DIR%\opensource\include" ftnoir_tracker_rs_impl.cpp udp_sender.cpp "%RSSDK_DIR%\opensource\src\libpxc\libpxc.cpp" /link ADVAPI32.LIB Ws2_32.lib /SUBSYSTEM:CONSOLE /OUT:bin\opentrack-tracker-rs-impl.exe \ No newline at end of file