summaryrefslogtreecommitdiffhomepage
path: root/tracker-rs/rs_impl/build.bat
diff options
context:
space:
mode:
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