-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcollatinus.pro
67 lines (59 loc) · 1.96 KB
/
collatinus.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
######################################################################
# Automatically generated by qmake (2.01a) mer. nov. 1 14:52:27 2006
# And modify manually
######################################################################
TEMPLATE = app
TARGET = collatinus
VERSION = "10.2"
DEFINES += VERSION=\\\"$$VERSION\\\"
DEPENDPATH += .
INCLUDEPATH += .
# TRANSLATIONS = collatinus_en.ts collatinus_la.ts collatinus_fr.ts
OBJECTS_DIR= obj/
MOC_DIR = moc/
# Input
HEADERS += src/*.h
FORMS += src/*.ui
SOURCES += src/*.cpp #src/*.cc
RESOURCES += collatinus.qrc
QT += svg
QT += xmlpatterns
CONFIG += release_binary
TRANSLATIONS = collatinus_fr.ts \
collatinus_en.ts \
macx{
TARGET = Collatinus
#note mac os x, fair un $ qmake -spec macx-g++
#CONFIG += x86 ppc
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6
ICON = MacOS/collatinus.icns
#QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk
#QMAKE_POST_LINK=strip Collatinus.app/Contents/MacOS/collatinus
# install into app bundle
# à changer en ressources
data.path = Collatinus.app/Contents/MacOS
data.files = ressources/*
deploy.depends = install_documentation
deploy.depends += install
documentation.path = Collatinus.app/Contents/MacOS/doc/
documentation.files = doc/*.html doc/*.css
# ajouter un cible qui fait macdeploy Collatinus.app
deploy.commands = macdeployqt Collatinus.app
dmg.depends = deploy
dmg.commands = ./MacOS/Collatinus.sh
INSTALLS += documentation
# INSTALLS += data
QMAKE_EXTRA_TARGETS += deploy
QMAKE_EXTRA_TARGETS += dmg
}
unix:!macx{
target.path = /usr/bin
target.target = collatinus
install.files = ressources/lemmata.* ressources/lucretia.txt ressources/expressions.fr
install.path = /usr/share/collatinus9
documentation.path = /usr/share/collatinus9/doc
documentation.files = doc/*.html
INSTALLS += target
INSTALLS += install
INSTALLS += documentation
}