src.pro 2.07 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++14 
TEMPLATE = app

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

INCLUDEPATH += ../include

SOURCES += \
15
    alphabet.cpp \
16
    arbitraryneighborhoodrule.cpp \
17
    gridview.cpp \
18
    main.cpp \
19
    mooreNeighborhoodRule.cpp \
20
    propertyvisitors.cpp \
21
    neighborhood.cpp \
22
23
24
    structurereader.cpp \
    interface.cpp \
    grid.cpp \
25
    history.cpp \
26
    vonNeumannNeighborhoodRule.cpp \
27
    structurewriter.cpp \
28
29
    structuresavingdialog.cpp \
    structurelibraryview.cpp
30
31
32
33

HEADERS += \
    ../include/coord.hpp \
    ../include/neighborhoodrule.hpp \
34
    ../include/arbitraryneighborhoodrule.hpp \
35
36
    ../include/mooreNeighborhoodrule.hpp \
    ../include/vonNeumannNeighborhoodRule.hpp \
37
38
    ../include/property.hpp \
    ../include/propertyvisitors.hpp \
39
    ../include/structure.hpp \
40
    ../include/neighborhood.hpp \
41
    ../include/factory.hpp \
42
43
44
45
    ../include/structurereader.hpp \
    ../include/gridview.hpp \
    ../include/interface.hpp \
    ../include/grid.h \
46
47
48
    ../include/alphabet.hpp \
    ../include/stateColor.hpp \
    ../include/state.hpp \
49
    ../include/history.h \
50
51
    ../include/structuresavingdialog.hpp \
    ../include/structurelibraryview.hpp
52
53

FORMS += \
54
    ../forms/interface.ui \
55
56
    ../forms/structuresavingdialog.ui \
    ../forms/structurelibraryview.ui
57
58
59
60
61
62


# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
63
64
65
66
67
68
69
70
71
72

CONFIG(debug, debug|release) {
    DEBUG_OR_RELEASE = debug
}  else {
    DEBUG_OR_RELEASE = release
}

# On copie les fichiers de pattern vers le dossier d'exécution
message($$system($$QMAKE_COPY_DIR $$shell_quote($$PWD/../patterns) $$shell_quote($$OUT_PWD/$$DEBUG_OR_RELEASE/patterns)))
message($$system($$QMAKE_COPY_DIR $$shell_quote($$PWD/../patterns) $$shell_quote($$OUT_PWD/patterns)))