diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-07 13:21:44 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-07 13:21:44 +0200 |
commit | 12235b271e970cbbe19c97a6217156969e9b6853 (patch) | |
tree | aba4a7ad52e3408508949adfa7f628f7bc1a140e /tracker-rs/rs_impl | |
parent | 9027f80b86e8caddd3245170460450a096afc33f (diff) |
tracker/rs: add support for 64-bit library
Diffstat (limited to 'tracker-rs/rs_impl')
-rw-r--r-- | tracker-rs/rs_impl/bin/.gitignore | 1 | ||||
-rw-r--r-- | tracker-rs/rs_impl/build.bat | 9 | ||||
-rw-r--r-- | tracker-rs/rs_impl/build_amd64.bat | 4 | ||||
-rw-r--r-- | tracker-rs/rs_impl/build_wrapped.bat | 10 | ||||
-rw-r--r-- | tracker-rs/rs_impl/build_x86.bat | 4 |
5 files changed, 21 insertions, 7 deletions
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 |