forked from Riateche/ridual
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathridual.pro
123 lines (103 loc) · 2.7 KB
/
ridual.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
#-------------------------------------------------
#
# Project created by QtCreator 2012-06-16T13:54:32
#
#-------------------------------------------------
QT += core gui
TARGET = ridual
target.path = /opt/extras.ubuntu.com/ridual
INSTALLS += target
data.path = /opt/extras.ubuntu.com/ridual/data
data.files = data/*
INSTALLS += data
install_desktop.files = extras-ridual.desktop
install_desktop.path = /usr/share/applications
INSTALLS += install_desktop
TEMPLATE = app
SOURCES += src/Main_window.cpp \
src/Pane.cpp \
src/File_list_model.cpp \
src/hotkeys/Hotkey_editor.cpp \
src/hotkeys/Hotkey_text_edit.cpp \
src/hotkeys/Hotkey_item_delegate.cpp \
src/hotkeys/Hotkeys.cpp \
src/hotkeys/Hotkey.cpp \
src/utils.cpp \
src/File_info.cpp \
src/gio/Volume.cpp \
src/gio/Mount.cpp \
src/Directory.cpp \
src/Tasks_thread.cpp \
src/Task.cpp \
src/Path_button.cpp \
src/Directory_list_task.cpp \
src/Directory_watch_task.cpp \
src/Path_widget.cpp \
src/Special_uri.cpp \
src/Columns.cpp \
src/App_info.cpp \
src/Settings_dialog.cpp \
src/File_action_task.cpp \
src/File_action_queue.cpp \
src/Bookmarks_file_parser.cpp \
src/Tasks_model.cpp \
src/Directory_tree_item.cpp
HEADERS += src/Main_window.h \
src/Pane.h \
src/File_list_model.h \
src/hotkeys/Hotkey_editor.h \
src/hotkeys/Hotkey_text_edit.h \
src/hotkeys/Hotkey_item_delegate.h \
src/hotkeys/Hotkeys.h \
src/hotkeys/Hotkey.h \
src/utils.h \
src/File_info.h \
src/gio/Volume.h \
src/gio/Mount.h \
src/Directory.h \
src/Tasks_thread.h \
src/Task.h \
src/Path_button.h \
src/qt_gtk.h \
src/Directory_list_task.h \
src/Directory_watch_task.h \
src/Path_widget.h \
src/Special_uri.h \
src/Columns.h \
src/App_info.h \
src/Settings_dialog.h \
src/File_action_task.h \
src/File_action_queue.h \
src/Bookmarks_file_parser.h \
src/Tasks_model.h \
src/Directory_tree_item.h
FORMS += src/Main_window.ui \
src/Pane.ui \
src/hotkeys/Hotkey_editor.ui \
src/Settings_dialog.ui
INCLUDEPATH += src
TRANSLATIONS += translations/ru.ts
#LIBS += -lmagic
CONFIG += link_pkgconfig
PKGCONFIG += gobject-2.0 gio-2.0 gtk+-2.0
enable_profiler { # gprof profiler
QMAKE_CFLAGS+=-pg
QMAKE_CXXFLAGS+=-pg
QMAKE_LFLAGS+=-pg
}
testing {
QT += testlib
LIBS += -lgtest
SOURCES += $$_PRO_FILE_PWD_/tests/*.cpp
HEADERS += $$_PRO_FILE_PWD_/tests/*.h
TARGET = ridual-test
#DEFINES += "TEST_ENV_PATH=\\\"$$_PRO_FILE_PWD_/tests/env\\\""
} else {
SOURCES += src/main.cpp
}
RESOURCES += \
resources/1.qrc
OTHER_FILES += \
README.md \
doc/todo.txt \
tests/run.sh