-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathEulexis.pro
71 lines (61 loc) · 1.68 KB
/
Eulexis.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
#-------------------------------------------------
#
# Project created by QtCreator 2017-03-05T15:46:01
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
qtHaveModule(printsupport): QT += printsupport
TARGET = Eulexis
TEMPLATE = app
QT += svg
CONFIG += release_binary debug
!macx:DESTDIR = bin
OBJECTS_DIR= obj/
MOC_DIR = moc/
SOURCES += src/main.cpp\
src/mainwindow.cpp \
src/lemmatiseur.cpp
HEADERS += src/mainwindow.h \
src/lemmatiseur.h
RESOURCES += src/Eulexis.qrc
!macx:
{
data.path = bin/ressources
data.files = Eulexis_data/*
INSTALLS += data
win32|win64:
{
RC_ICONS = src/res/Eulexis.ico
deploy.depends += install
deploy.commands = windeployqt bin/Eulexis.exe
QMAKE_EXTRA_TARGETS += deploy
}
linux:
{
target.path = bin
target.file = $$TARGET
INSTALLS += target
}
}
macx:
{
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.8
ICON = src/res/Eulexis.icns
# install into app bundle
# à changer en ressources
# data.path = Eulexis.app/Contents/MacOS/ressources
# data.files = Eulexis_data/*
# deploy.depends = install_documentation
# deploy.depends += install
# documentation.path = Collatinus_11.app/Contents/MacOS/doc/
# documentation.files = doc/*.html doc/*.css
# dmg.depends = deploy
# dmg.commands = ./MacOS/Collatinus.sh
# INSTALLS += documentation
# INSTALLS += data
# Le 25 mai 2020, je supprime l'installation des données.
# En effet, elle est difficilement compatible avec la mise à jour des dicos.
deploy.commands = macdeployqt Eulexis.app
QMAKE_EXTRA_TARGETS += deploy
}