src.pro 2.58 KB
Newer Older
1
2
3
4
QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

5
CONFIG += c++14
6
7
8
9
10
11
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

12
INCLUDEPATH += ../include ../include/transition_rules ../include/neighborhood_rules
13
14

SOURCES += \
15
    alphabet.cpp \
16
    neighborhood_rules/arbitraryneighborhoodrule.cpp \
Anthony Noir's avatar
Anthony Noir committed
17
    automaton.cpp \
18
    gridview.cpp \
19
    transition_rules/circulartransition.cpp \
20
    transition_rules/lifegametransition.cpp \
21
    main.cpp \
22
    neighborhood_rules/mooreNeighborhoodRule.cpp \
23
    propertyvisitors.cpp \
24
    neighborhood.cpp \
Anthony Noir's avatar
Anthony Noir committed
25
    simulation.cpp \
26
27
28
    structurereader.cpp \
    interface.cpp \
    grid.cpp \
29
    history.cpp \
30
    neighborhood_rules/vonNeumannNeighborhoodRule.cpp \
31
    structurewriter.cpp \
32
    structuresavingdialog.cpp \
Merwane Bouri's avatar
Merwane Bouri committed
33
34
    structurelibraryview.cpp

35
36

HEADERS += \
Anthony Noir's avatar
Anthony Noir committed
37
    ../include/automaton.hpp \
38
    ../include/coord.hpp \
39
    ../include/transition_rules/lifegametransition.h \
40
    ../include/neighborhoodrule.hpp \
41
42
    ../include/neighborhood_rules/arbitraryneighborhoodrule.hpp \
    ../include/neighborhood_rules/mooreNeighborhoodrule.hpp \
Anthony Noir's avatar
Anthony Noir committed
43
    ../include/simulation.hpp \
44
    ../include/neighborhood_rules/vonNeumannNeighborhoodRule.hpp \
45
46
    ../include/property.hpp \
    ../include/propertyvisitors.hpp \
47
    ../include/structure.hpp \
48
    ../include/neighborhood.hpp \
49
    ../include/factory.hpp \
50
51
52
53
    ../include/structurereader.hpp \
    ../include/gridview.hpp \
    ../include/interface.hpp \
    ../include/grid.h \
54
55
56
    ../include/alphabet.hpp \
    ../include/stateColor.hpp \
    ../include/state.hpp \
57
    ../include/history.h \
58
    ../include/structuresavingdialog.hpp \
Anthony Noir's avatar
Anthony Noir committed
59
    ../include/structurelibraryview.hpp \
60
61
    ../include/transitionrule.hpp \
    ../include/transition_rules/circulartransition.hpp \
62
63

FORMS += \
64
    ../forms/interface.ui \
65
66
    ../forms/structuresavingdialog.ui \
    ../forms/structurelibraryview.ui
67
68
69
70
71
72


# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
73
74
75
76
77
78
79
80

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
Merwane Bouri's avatar
Merwane Bouri committed
81
82
#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)))