-
Notifications
You must be signed in to change notification settings - Fork 6
/
library.pri
65 lines (54 loc) · 1.9 KB
/
library.pri
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
# Profile include file for libraries
# Copy file to library.pri and change QWTPATH, SINGLEDIR to match your installation
# Also see gui.pri.template
include( local.pri )
TEMPLATE = lib
CONFIG += $$DEBUGORRELEASE qt thread warn
VERSION = 10.0
VER = 10
MOC_DIR = ./moc
OBJECTS_DIR = ./obj
QT += xml
DESTDIR = ../lib
DLLDESTDIR = ../bin
unix {
contains( DEFINES, NO_DB ) {
# NO_DB is for the supercomputer back end with no gui, mysql, or qca
DEPENDPATH += ../utils
INCLUDEPATH += ../utils
}
else {
DEPENDPATH += ../gui ../utils $$QWTPATH/include
INCLUDEPATH += ../gui ../utils $$QWTPATH/include $$QWT3D/include
INCLUDEPATH += $$MYSQLPATH
}
DEFINES += INTEL LINUX
LIBS += -larchive
}
win32 {
DEPENDPATH += ../gui ../utils
INCLUDEPATH += ../gui ../utils
INCLUDEPATH += $$QWTPATH/src
INCLUDEPATH += $$MYSQLPATH/include
INCLUDEPATH += $$OPENSSL/include
INCLUDEPATH += ../qwtplot3d/include
LIBS += $$QWTLIB
LIBS += $$MYSQLLIB
LIBS += -L$$OPENSSL/lib -lssl -lcrypto
LIBS += $$MINGWDIR/lib/libws2_32.a $$MINGWDIR/lib/libadvapi32.a
LIBS += $$MINGWDIR/lib/libgdi32.a $$MINGWDIR/lib/libuser32.a
LIBS += $$MINGWDIR/lib/libkernel32.a $$MINGWDIR/lib/libpsapi.a
LIBS += -larchive
#QMAKE_LFLAGS += /IMPLIB:../lib/$${TARGET}.a /MACHINE:X86 /INCREMENTAL:NO
#QMAKE_CXXFLAGS_DEBUG += /wd4996
#QMAKE_CXXFLAGS_RELEASE += /wd4996
DEFINES += INTEL US_MAKE_DLL
}
macx {
CONFIG += x86_64
DEPENDPATH += ../gui ../utils $$QWTPATH/include
INCLUDEPATH += ../gui ../utils $$QWTPATH/include ../mysql/include
DEFINES += MAC OSX
LIBS += $$QWTLIB
LIBS += -larchive
}