-
Notifications
You must be signed in to change notification settings - Fork 1
/
qdrive.pro
43 lines (37 loc) · 816 Bytes
/
qdrive.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
TEMPLATE = lib
CONFIG *= c++11 warn_on staticlib
QMAKE_CXXFLAGS *= -Wall -Wextra -pedantic
QT *= dbus
QT -= gui
TARGET = qdrive
DESTDIR = .
MOC_DIR = tmp
OBJECTS_DIR = tmp
INCLUDEPATH *= include
HEADERS += \
include/AvailableSpace.h \
include/BlockDevice.h \
include/DBusObject.h \
include/Drive.h \
include/FileSystem.h \
include/Monitor.h \
include/Partition.h \
include/QDrive.h \
include/Version.h
SOURCES += \
src/AvailableSpace.cpp \
src/BlockDevice.cpp \
src/DBusObject.cpp \
src/Drive.cpp \
src/FileSystem.cpp \
src/Monitor.cpp \
src/Partition.cpp \
src/QDrive.cpp
sharedlib {
CONFIG -= staticlib
}
libfiles.files = $${DESTDIR}/lib$${TARGET}.a
libfiles.path = /usr/lib/
headerfiles.files = $$HEADERS
headerfiles.path = $${DESTDIR}/usr/include/QDrive/
INSTALLS += libfiles headerfiles