forked from hpfem/agros2d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
agros2d.pro
73 lines (59 loc) · 1.87 KB
/
agros2d.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
# agros2d - hp-FEM multiphysics application based on Hermes2D library
SUBDIRS += hermes2d
SUBDIRS += src-remote
SUBDIRS += src
CONFIG += ordered
TEMPLATE = subdirs
linux-g++|linux-g++-64|linux-g++-32 {
# use qmake PREFIX=... to customize your installation
isEmpty(PREFIX):PREFIX = /usr/local
# install resources
system(find . -type f -name "*.pyc" -delete;)
resources.path = $${PREFIX}/share/agros2d/resources
resources.CONFIG = recursive
resources.files = resources/*
# install examples
examples.path = $${PREFIX}/share/agros2d/data
examples.files = data/*.a2d
# install script
script.path = $${PREFIX}/share/agros2d/data/script
script.files = data/script/*.py
# install help
help.path = $${PREFIX}/share/agros2d/doc/help
help.files = doc/help/*
# install report
report.path = $${PREFIX}/share/agros2d/doc/report
report.files = doc/report/*
# install translations
lang.path = $${PREFIX}/share/agros2d/lang
lang.files = lang/*.qm
# install script
script.path = $${PREFIX}/share/agros2d
script.files = *.py
# install pixmap
pixmap.path = $${PREFIX}/share/pixmaps
pixmap.files = src/images/agros2d.xpm
# install desktop
desktop.path = $${PREFIX}/share/applications
desktop.files = agros2d.desktop
# install binary
system(touch agros2d)
system(touch src-remote/agros2d-remote)
target.path = $${PREFIX}/bin
target.files = agros2d
target-remote.path = $${PREFIX}/bin
target-remote.files = src-remote/agros2d-remote
# "make install" configuration options
INSTALLS *= target \
resources \
target-remote \
examples \
help \
lang \
script \
pixmap \
report \
desktop
}
OTHER_FILES += \
agros2d.supp