-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathQRibbon.pro
87 lines (61 loc) · 1.67 KB
/
QRibbon.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
QT += widgets
CONFIG(app) {
warning(App config)
QT += core gui
TEMPLATE = app
DEFINES += QRIBBON_TEST
HEADERS = qribbon.h \
qribbon_global.h \
qribbontest.h \
qribbonsection.h \
qribbonbutton.h
SOURCES = main.cpp \
qribbon.cpp \
qribbonsection.cpp \
qribbonbutton.cpp \
qribbontest.cpp
INCLUDEPATH += "C:\Program Files (x86)\Visual Leak Detector\include"
LIBS += -L"C:\Program Files (x86)\Visual Leak Detector\lib\win32" -lvld
TARGET = qribbontest
} else {
warning(Lib config)
CONFIG(installd) {
TARGET = QRibbond
} else {
TARGET = QRibbon
}
TEMPLATE = lib
DEFINES += QRIBBON_LIBRARY
HEADERS = \
qribbon.h \
qribbon_global.h \
qribbonsection.h \
qribbonbutton.h \
SOURCES = \
qribbon.cpp \
qribbonsection.cpp \
qribbonbutton.cpp
target.path = ../lib
INSTALLS += target
mylib.CONFIG = no_check_exists
mylib.files = release/QRibbonPlugin.lib release/QRibbonPlugin.dll
mylib.path =../lib
INSTALLS += mylib
warning($$INSTALLS)
mylibd.CONFIG = no_check_exists
mylibd.files = debug/QRibbonPlugind.lib debug/QRibbonPlugind.dll
mylibd.path =../lib
INSTALLS += mylibd
DISTFILES +=
OTHER_FILES +=
header_files.files = $$HEADERS
header_files.path = ../include
INSTALLS += header_files
warning($$INSTALLS)
}
RESOURCES += \
qribbon.qrc
DISTFILES += \
memorycheck.bat \
LICENSE \
README.md