forked from hluk/CopyQ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
copyq.pro
29 lines (24 loc) · 958 Bytes
/
copyq.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
TEMPLATE = subdirs
# generate cache file for build
cache()
SUBDIRS += src \
plugins
TRANSLATIONS = translations/copyq_cs.ts \
translations/copyq_de.ts \
translations/copyq_es.ts
macx {
package_plugins.commands = \
mkdir -p copyq.app/Contents/PlugIns/copyq/ ; \
cp plugins/*.dylib copyq.app/Contents/PlugIns/copyq/
package_plugins.depends = sub-plugins sub-src
QMAKE_EXTRA_TARGETS += package_plugins
package_frameworks.commands = \
test -e copyq.app/Contents/Frameworks/QtCore.framework \
|| $$dirname(QMAKE_QMAKE)/macdeployqt copyq.app
package_frameworks.target = copyq.app/Contents/Frameworks/QtCore.framework
package_frameworks.depends = sub-src sub-plugins package_plugins
QMAKE_EXTRA_TARGETS += package_frameworks
bundle_mac.depends = package_frameworks package_plugins
bundle_mac.target = copyq.app
QMAKE_EXTRA_TARGETS += bundle_mac
}