From 12235b271e970cbbe19c97a6217156969e9b6853 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 7 Jul 2016 13:21:44 +0200 Subject: tracker/rs: add support for 64-bit library --- tracker-rs/rs_impl/bin/.gitignore | 1 + tracker-rs/rs_impl/build.bat | 9 ++------- tracker-rs/rs_impl/build_amd64.bat | 4 ++++ tracker-rs/rs_impl/build_wrapped.bat | 10 ++++++++++ tracker-rs/rs_impl/build_x86.bat | 4 ++++ 5 files changed, 21 insertions(+), 7 deletions(-) create mode 100644 tracker-rs/rs_impl/bin/.gitignore create mode 100644 tracker-rs/rs_impl/build_amd64.bat create mode 100644 tracker-rs/rs_impl/build_wrapped.bat create mode 100644 tracker-rs/rs_impl/build_x86.bat (limited to 'tracker-rs/rs_impl') diff --git a/tracker-rs/rs_impl/bin/.gitignore b/tracker-rs/rs_impl/bin/.gitignore new file mode 100644 index 00000000..e94bb21f --- /dev/null +++ b/tracker-rs/rs_impl/bin/.gitignore @@ -0,0 +1 @@ +/*.exp diff --git a/tracker-rs/rs_impl/build.bat b/tracker-rs/rs_impl/build.bat index 89b7647e..5b6ae279 100644 --- a/tracker-rs/rs_impl/build.bat +++ b/tracker-rs/rs_impl/build.bat @@ -1,7 +1,2 @@ -IF DEFINED %VS120COMNTOOLS%] ( - chdir /d "%VS120COMNTOOLS%\..\..\VC" - ) ELSE ( - chdir /d "%VS140COMNTOOLS%\..\..\VC" - ) - -vcvarsall x86 && chdir /d %~dp0 && 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 +@cmd /c .\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 new file mode 100644 index 00000000..34553fd8 --- /dev/null +++ b/tracker-rs/rs_impl/build_amd64.bat @@ -0,0 +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 diff --git a/tracker-rs/rs_impl/build_wrapped.bat b/tracker-rs/rs_impl/build_wrapped.bat new file mode 100644 index 00000000..e3679321 --- /dev/null +++ b/tracker-rs/rs_impl/build_wrapped.bat @@ -0,0 +1,10 @@ +@IF DEFINED VS150COMNTOOLS ( + set vs_dir="%VS150COMNTOOLS%\..\..\VC" + set vs_64=x86_amd64 + ) ELSE ( + set vs_dir="%VS140COMNTOOLS%\..\..\VC" + set vs_64=amd64 + ) + +cmd /c .\build_x86.bat +cmd /c .\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 new file mode 100644 index 00000000..289e2e2f --- /dev/null +++ b/tracker-rs/rs_impl/build_x86.bat @@ -0,0 +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 -- cgit v1.2.3