-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathlibopenpst.pro
executable file
·90 lines (79 loc) · 2.81 KB
/
libopenpst.pro
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#-------------------------------------------------
# QMake Build Script for: openpst/libopenpst
#-------------------------------------------------
lessThan(QT_MAJOR_VERSION, 5): error("At least Qt 5.0 is required")
CONFIG += C++11
CONFIG -= qt # we do not need QT libs for this
TARGET = openpst
TEMPLATE = lib
VER_MAJ = 1
VER_MIN = 0
VER_PAT = 0
!defined(BUILD_SHARED) {
CONFIG += staticlib
}
BASE_DIR = $$PWD
CONFIG(release, debug|release){
RELEASE = release
} else {
RELEASE = debug
}
BUILD_DIR = $$BASE_DIR/build/$$RELEASE/
CONFIG(debug, debug|release){
DEFINES += DEBUG
DEFINES += HEXDUMP_PORT_RX
DEFINES += HEXDUMP_PORT_TX
}
INCLUDEPATH += $$BASE_DIR/include \
$$BASE_DIR/lib/serial/include \
$$BASE_DIR/lib/pugixml/src \
DEPENDPATH += $$BASE_DIR
VPATH += $$BASE_DIR
OBJECTS_DIR += $$BUILD_DIR/obj
MOC_DIR += $$BUILD_DIR/moc
RCC_DIR += $$BUILD_DIR/rcc
UI_DIR += $$BUILD_DIR/ui
DESTDIR += $$BUILD_DIR
macx {
QMAKE_CXXFLAGS += -Wno-c++11-narrowing
INCLUDEPATH += /usr/local/include
LIBS += -L/usr/local/lib
}
message("------------ $$TARGET ------------ !!!")
message("ARC $$QT_ARCH")
message("BASE_DIR $$BASE_DIR")
message("BUILD_DIR $$BUILD_DIR")
message("INCLUDEPATH $$INCLUDEPATH")
message("DEPENDPATH $$DEPENDPATH")
message("VPATH $$VPATH")
message("OBJECTS_DIR $$OBJECTS_DIR")
message("MOC_DIR $$MOC_DIR")
message("RCC_DIR $$RCC_DIR")
message("UI_DIR $$UI_DIR")
message("DESTDIR $$DESTDIR")
message("------------ $$TARGET ------------ ")
SOURCES += \
$$BASE_DIR/lib/serial/src/serial.cc \
$$BASE_DIR/lib/serial/src/impl/unix.cc \
$$BASE_DIR/lib/serial/src/impl/list_ports/list_ports_linux.cc \
$$BASE_DIR/lib/pugixml/src/pugixml.cpp \
$$BASE_DIR/src/lg/laf_serial.cpp \
$$BASE_DIR/src/lg/partition_txt_reader.cpp \
$$BASE_DIR/src/qualcomm/mbn_parser.cpp \
$$BASE_DIR/src/qualcomm/hdlc_encoder.cpp \
$$BASE_DIR/src/qualcomm/dm_efs_manager.cpp \
$$BASE_DIR/src/qualcomm/dm_efs_node.cpp \
$$BASE_DIR/src/qualcomm/hdlc_serial.cpp \
$$BASE_DIR/src/qualcomm/qcdm_serial.cpp \
$$BASE_DIR/src/qualcomm/sahara_serial.cpp \
$$BASE_DIR/src/qualcomm/streaming_dload_serial.cpp \
$$BASE_DIR/src/qualcomm/raw_program_xml_reader.cpp \
$$BASE_DIR/src/qualcomm/sahara_xml_reader.cpp \
$$BASE_DIR/src/samsung/akseed_calculator.cpp \
$$BASE_DIR/src/serial/generic_serial.cpp \
$$BASE_DIR/src/util/gpt_parser.cpp \
$$BASE_DIR/src/util/math_string_evaluator.cpp \
$$BASE_DIR/src/util/meid_converter.cpp \
$$BASE_DIR/src/util/string_helper.cpp \
$$BASE_DIR/src/util/convert.cpp \
$$BASE_DIR/src/util/hexdump.cpp