forked from shizukachan/atelier_pak_decrypt
-
Notifications
You must be signed in to change notification settings - Fork 25
/
build.cmd
69 lines (59 loc) · 1.57 KB
/
build.cmd
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
@echo off
setlocal
call "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64 -no_logo
cd /d "%~dp0"
set CL=/nologo /errorReport:none /Ox /Gm- /GF /GS- /MP /MT /W4 /WX /wd4200 /wd4204 /wd4214 /wd4324 /wd4996 /D_UNICODE /D_CRT_SECURE_NO_DEPRECATE /UNDEBUG
set LINK=/errorReport:none /INCREMENTAL:NO
if not "%1"=="" goto %1
:pak
set APP_NAME=gust_pak
cl.exe %APP_NAME%.c util.c parson.c /Fe%APP_NAME%.exe
if %ERRORLEVEL% neq 0 goto out
echo =^> %APP_NAME%.exe
echo.
if not "%1"=="" goto out
:lxr
set APP_NAME=gust_elixir
cl.exe %APP_NAME%.c util.c parson.c miniz_tinfl.c miniz_tdef.c /Fe%APP_NAME%
if %ERRORLEVEL% neq 0 goto out
echo =^> %APP_NAME%
echo.
if not "%1"=="" goto out
:g1t
set APP_NAME=gust_g1t
cl.exe %APP_NAME%.c util.c parson.c /Fe%APP_NAME%
if %ERRORLEVEL% neq 0 goto out
echo =^> %APP_NAME%
echo.
if not "%1"=="" goto out
:enc
set APP_NAME=gust_enc
cl.exe %APP_NAME%.c util.c parson.c /Fe%APP_NAME%.exe
if %ERRORLEVEL% neq 0 goto out
echo =^> %APP_NAME%.exe
echo.
if not "%1"=="" goto out
:ebm
set APP_NAME=gust_ebm
cl.exe %APP_NAME%.c util.c parson.c /Fe%APP_NAME%.exe
if %ERRORLEVEL% neq 0 goto out
echo =^> %APP_NAME%.exe
echo.
if not "%1"=="" goto out
:gmpk
set APP_NAME=gust_gmpk
cl.exe %APP_NAME%.c util.c parson.c /Fe%APP_NAME%.exe
if %ERRORLEVEL% neq 0 goto out
echo =^> %APP_NAME%.exe
echo.
if not "%1"=="" goto out
:cmp
set APP_NAME=gust_cmp
cl.exe %APP_NAME%.c util.c /Fe%APP_NAME%.exe
if %ERRORLEVEL% neq 0 goto out
echo =^> %APP_NAME%.exe
echo.
if not "%1"=="" goto out
:out
endlocal
if %ERRORLEVEL% neq 0 pause