summaryrefslogtreecommitdiffstats
path: root/src/libs/7zip/7zip.pro
blob: 9a10540e6e66c2da9b73febe18444654e89251f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
include(../../../installerfw.pri)

QT =
TARGET = 7z
TEMPLATE = lib
INCLUDEPATH += . ..
CONFIG += staticlib
DESTDIR = $$IFW_LIB_PATH

include(7zip.pri)
win32 {
    DEFINES += _CRT_SECURE_NO_WARNINGS
    CONFIG += no_batch # this is needed because we have a same named *.c and *.cpp file -> 7in
    include($$7ZIP_BASE/win.pri)    #this is 7zip
}

unix {
    QMAKE_CFLAGS += -w
    QMAKE_CXXFLAGS += -fvisibility=hidden -w
    include($$7ZIP_BASE/unix.pri)   #this is p7zip
}