diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-28 10:39:40 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-28 10:40:14 +0200 |
commit | b6c1c5ec8768eae71f3492a4e5c92cac65cee5a1 (patch) | |
tree | 61ee5d7825d407b2648424bc110f9fc18af25420 /tracker-rs/rs_impl/attic/build_common.bat | |
parent | dacec3441a491c132443b9c8bb066ca514cb3335 (diff) |
tracker/rs: connect rs_impl to build
Pinging @ph0b.
Diffstat (limited to 'tracker-rs/rs_impl/attic/build_common.bat')
-rw-r--r-- | tracker-rs/rs_impl/attic/build_common.bat | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tracker-rs/rs_impl/attic/build_common.bat b/tracker-rs/rs_impl/attic/build_common.bat new file mode 100644 index 00000000..c37e0ae8 --- /dev/null +++ b/tracker-rs/rs_impl/attic/build_common.bat @@ -0,0 +1,21 @@ +@echo off
+
+setlocal
+
+cd /d .\bin\%rs_subdir% || exit 1
+
+echo --- %rs_subdir%
+
+set rice_ld=/OPT:REF /OPT:ICF=10 /DEBUG /DYNAMICBASE /NXCOMPAT /LTCG
+set rice_lib=
+set rice_cc=/Ox /arch:SSE2 /EHscr /fp:fast /GS- /GF /GR- /Gy /MT /Y- /Zi /W1 /GL /Zi
+set libs=advapi32.lib
+
+if not exist %vs_dir%\vcvarsall.bat exit /b 1
+call %vs_dir%\vcvarsall %vs_var% || exit /b 1
+if ["%libpath%"] == [""] exit /b 1
+
+cl /c /nologo -DEXPORT_RS_IMPL -DUNICODE -D_UNICODE -MT %rice_cc% /I "%RSSDK_DIR%\opensource\include" ..\..\ftnoir_tracker_rs_impl.cpp "%RSSDK_DIR%\opensource\src\libpxc\libpxc.cpp" || exit /b 1
+lib /nologo %rice_lib% %rs_objs% %libs% /OUT:rs-impl.lib || exit /b 1
+
+exit /b 0
|