-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathfm.pro
67 lines (54 loc) · 1.77 KB
/
fm.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
include($${top_srcdir}/share/qtfm.pri)
QT+= widgets concurrent
TARGET = $${QTFM_TARGET}
TARGET_NAME = $${QTFM_TARGET_NAME}
VERSION = $${QTFM_MAJOR}.$${QTFM_MINOR}.$${QTFM_PATCH}
TEMPLATE = app
INCLUDEPATH += src $${top_srcdir}/libfm $${top_srcdir}/libfm/qtcopydialog
DEFINES += APP=\"\\\"$${TARGET}\\\"\"
DEFINES += APP_NAME=\"\\\"$${TARGET_NAME}\\\"\"
DEFINES += APP_VERSION=\"\\\"$${VERSION}\\\"\"
HEADERS += \
src/mainwindow.h \
src/tabbar.h \
src/settingsdialog.h
SOURCES += \
src/main.cpp \
src/mainwindow.cpp \
src/bookmarks.cpp \
src/tabbar.cpp \
src/settingsdialog.cpp \
src/actiondefs.cpp \
src/actiontriggers.cpp
RESOURCES += $${top_srcdir}/share/$${TARGET}.qrc
macx {
LIBS += -L$${top_builddir}/libfm -lQtFM
DEFINES += NO_DBUS NO_UDISKS
RESOURCES += bundle/adwaita.qrc
ICON = $${top_srcdir}/share/images/QtFM.icns
QMAKE_INFO_PLIST = $${top_srcdir}/share/Info.plist
}
unix:!macx {
DESTDIR = $${top_builddir}/bin
OBJECTS_DIR = $${DESTDIR}/.obj_fm
MOC_DIR = $${DESTDIR}/.moc_fm
RCC_DIR = $${DESTDIR}/.qrc_fm
LIBS += -L$${top_builddir}/lib$${LIBSUFFIX} -lQtFM
target.path = $${PREFIX}/bin
desktop.files += $${TARGET}.desktop
desktop.path += $${PREFIX}/share/applications
man.files += qtfm.1
man.path += $${MANDIR}/man1
INSTALLS += target desktop man
hicolor.files = $${top_srcdir}/share/hicolor
hicolor.path = $${PREFIX}/share/icons
INSTALLS += hicolor
CONFIG(no_dbus) {
DEFINES += NO_DBUS
DEFINES += NO_UDISKS
}
!CONFIG(no_dbus) : QT += dbus
!CONFIG(staticlib): QMAKE_RPATHDIR += $ORIGIN/../lib$${LIBSUFFIX}
}
CONFIG(with_magick): include($${top_srcdir}/share/imagemagick.pri)
CONFIG(with_ffmpeg): include($${top_srcdir}/share/ffmpeg.pri)