-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathgcodeworkshop_top.pro
48 lines (34 loc) · 1.38 KB
/
gcodeworkshop_top.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
TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS = 3rdparty gcodeshared addons gcodeworkshop gcodefileserver
include(common.pri)
include(lang/lang.pri)
examples.files = $$PROJECT_ROOT_PATH/examples/*
doc.files = $$PROJECT_ROOT_PATH/README.md $$PROJECT_ROOT_PATH/doc/SerialTransmission_Help.html
license.files = $$PROJECT_ROOT_PATH/COPYING $$PROJECT_ROOT_PATH/COPYING.LESSER
# target platforms dependencies
#######################################
unix {
mime.files = $$PROJECT_ROOT_PATH/install/linux/application-x-g-code.xml
desktop.files = $$PROJECT_ROOT_PATH/install/linux/gcodeworkshop.desktop
# desktop.files += $$PROJECT_ROOT_PATH/install/linux/gcodefileserver.desktop
examples.path = $${PREFIX}/share/gcodeworkshop/examples
doc.path = $${PREFIX}/share/doc/gcodeworkshop
license.path = $${PREFIX}/share/doc/gcodeworkshop
mime.path = $${PREFIX}/share/mime/packages
desktop.path = $${PREFIX}/share/applications
ICONS_BASE_PATH = $$PROJECT_ROOT_PATH/install/linux/images
icons.base = $$ICONS_BASE_PATH
icons.files = $$findFiles($$ICONS_BASE_PATH, *.png)
icons.path = $${PREFIX}/share/icons
INSTALLS += mime desktop icons examples doc license
}
macx {
}
win32 {
examples.path = $${PREFIX}/examples
doc.path = $${PREFIX}/doc
INSTALLS += examples doc
}
!defined(VERSION, var): VERSION = $$getVersion()
message(Project version: $$VERSION)