2017-04-06 08:29:36 +00:00
|
|
|
win32 {
|
|
|
|
DEFINES += _CRT_NONSTDC_NO_DEPRECATE
|
|
|
|
DEFINES += _CRT_SECURE_NO_WARNINGS
|
|
|
|
INCLUDEPATH += "$$PWD/../iaito_win32/include"
|
|
|
|
INCLUDEPATH += "$$PWD/../iaito_win32/radare2/include/libr"
|
2017-04-20 16:47:50 +00:00
|
|
|
!contains(QT_ARCH, x86_64) {
|
2017-04-06 08:29:36 +00:00
|
|
|
LIBS += -L"$$PWD/../iaito_win32/radare2/lib32"
|
|
|
|
} else {
|
|
|
|
LIBS += -L"$$PWD/../iaito_win32/radare2/lib64"
|
|
|
|
}
|
|
|
|
|
2017-04-20 16:44:39 +00:00
|
|
|
LIBS += \
|
|
|
|
-lr_core \
|
|
|
|
-lr_config \
|
|
|
|
-lr_cons \
|
|
|
|
-lr_io \
|
|
|
|
-lr_util \
|
|
|
|
-lr_flag \
|
|
|
|
-lr_asm \
|
|
|
|
-lr_debug \
|
|
|
|
-lr_hash \
|
|
|
|
-lr_bin \
|
|
|
|
-lr_lang \
|
|
|
|
-lr_io \
|
|
|
|
-lr_anal \
|
|
|
|
-lr_parse \
|
|
|
|
-lr_bp \
|
|
|
|
-lr_egg \
|
|
|
|
-lr_reg \
|
|
|
|
-lr_search \
|
|
|
|
-lr_syscall \
|
|
|
|
-lr_socket \
|
|
|
|
-lr_fs \
|
|
|
|
-lr_magic \
|
|
|
|
-lr_crypto
|
|
|
|
} else {
|
|
|
|
R2_USER_PKGCONFIG = $$(HOME)/bin/prefix/radare2/lib/pkgconfig
|
|
|
|
exists($$R2_USER_PKGCONFIG) {
|
|
|
|
# caution: may not work for cross compilations
|
|
|
|
QMAKE_PKG_CONFIG = PKG_CONFIG_PATH=$$R2_USER_PKGCONFIG pkg-config
|
2017-04-06 08:29:36 +00:00
|
|
|
}
|
|
|
|
|
2017-04-20 16:44:39 +00:00
|
|
|
CONFIG += link_pkgconfig
|
|
|
|
PKGCONFIG += r_core
|
|
|
|
}
|
2017-04-06 08:29:36 +00:00
|
|
|
|