mirror of
https://github.com/QuasarApp/LIEF.git
synced 2025-04-26 04:14:33 +00:00
added qmake wraper
This commit is contained in:
parent
097b35511e
commit
de005f2744
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
Build/
|
17
LIEF.pri
Normal file
17
LIEF.pri
Normal file
@ -0,0 +1,17 @@
|
||||
#
|
||||
# Copyright (C) 2021-2021 QuasarApp.
|
||||
# Distributed under the lgplv3 software license, see the accompanying
|
||||
# Everyone is permitted to copy and distribute verbatim copies
|
||||
# of this license document, but changing it is not allowed.
|
||||
#
|
||||
|
||||
CMD=cmake -DLIEF_PYTHON_API=off -DLIEF_EXAMPLES=off -DLIEF_LOGGING=off -DLIEF_LOGGING_DEBUG=off -DLIEF_ENABLE_JSON=off -DLIEF_OAT=off -DLIEF_DEX=off -DLIEF_VDEX=off -DLIEF_ART=off -DBUILD_SHARED_LIBS=on -DCMAKE_BUILD_TYPE=Release $$PWD -BBuild
|
||||
message(lief cmake command = $$CMD)
|
||||
system($$CMD)
|
||||
|
||||
all.depends += lief
|
||||
|
||||
lief.commands=cmake --build $$PWD/Build --target LIB_LIEF --config Release --parallel 4
|
||||
|
||||
QMAKE_EXTRA_TARGETS += \
|
||||
lief
|
18
includeLIEF.pri
Normal file
18
includeLIEF.pri
Normal file
@ -0,0 +1,18 @@
|
||||
#
|
||||
# Copyright (C) 2021-2021 QuasarApp.
|
||||
# Distributed under the lgplv3 software license, see the accompanying
|
||||
# Everyone is permitted to copy and distribute verbatim copies
|
||||
# of this license document, but changing it is not allowed.
|
||||
#
|
||||
|
||||
!isEmpty(LIEF_LIB):error("includeLIEF.pri already included")
|
||||
LIEF_LIB = 1
|
||||
|
||||
#DEPENDS
|
||||
LIEF_LIB_OUTPUT_DIR="$$PWD/Build"
|
||||
|
||||
|
||||
LIBS += -L$$DEPLOY_LIB_OUTPUT_DIR -llief
|
||||
|
||||
|
||||
INCLUDEPATH += "$$PWD/include"
|
Loading…
x
Reference in New Issue
Block a user