-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.bat
24 lines (19 loc) · 824 Bytes
/
build.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
cls
REM @echo off
call "F:\Vs2017\IDE\VC\Auxiliary\Build\vcvarsall.bat" x64
set inputFile=src\hexraysIDAplus.cpp
set includePath=/I .\include
set target=.\bin\hexraysIDAplus64.dll
set oLib=.\bin\hexRaysIDAplus64.lib
set exLibPath=/LIBPATH:.\lib\x64_win_vc_64\ ^
/LIBPATH:.\lib\x64_win_qt\
set marco=/D __NT__ /D __IDP__ /D DEBUG /D __EA64__
set cflags=/Od /Zi /EHsc /std:c++latest %includePath% /LD %marco%
set rctLib=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib ^
ws2_32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib ^
odbccp32.lib compress.lib
set exLib=ida.lib network.lib pro.lib Qt5Core.lib Qt5Gui.lib Qt5PrintSupport.lib Qt5Widgets.lib
cl.exe %cflags% %inputFile% ^
/link %rctLib% %exLib% %exLibPath% ^
/OUT:%target% /IMPLIB:%oLib%
del bin\*.ilk bin\*.exp *.obj *.pdb