summaryrefslogtreecommitdiffhomepage
path: root/tracker-rs/rs_impl/attic/build.bat
blob: 3d5e8bc0de8406249dda42c661d88311f59128e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
@echo off

setlocal

IF DEFINED VS150COMNTOOLS (
    if exist "%VS150COMNTOOLS%\..\..\VC\vcvarsall.bat" (
        set vs_dir="%VS150COMNTOOLS%\..\..\VC"
        set vs_64=amd64
    ) else (
        rem it installed vcvarsall.bat here for me for some reason -sh 20160827
        set vs_dir="%VS150COMNTOOLS%\..\ide\vc"
        set vs_64=amd64
    )) else (
        set vs_dir="%VS140COMNTOOLS%\..\..\VC"
        set vs_64=amd64
        )

cd /d "%~dp0"
if %errorlevel% neq 0 exit /b 1

set rs_objs=ftnoir_tracker_rs_impl.obj libpxc.obj

set rs_subdir=ia32&set vs_var=x86
call ".\build_common.bat" || exit /b 1

set rs_subdir=amd64&set vs_var=%vs_64%
call ".\build_common.bat" || exit /b 1

exit /b 0