blob: 320dc5bc71a50bcbd21e721ab1dc465c289c616b [file] [log] [blame]
swissChili23958ca2022-02-21 19:23:34 -08001QT += core
2
3CONFIG += c++14
4
5# You can make your code fail to compile if it uses deprecated APIs.
6# In order to do so, uncomment the following line.
7#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
8
9SOURCES += \
10 AstNode.cpp \
11 Evaluator.cpp \
12 Function.cpp \
13 main.cpp \
14 Matcher.cpp \
15 Parser.cpp \
swissChilif8c74f02022-04-16 18:47:16 -070016 PPrint.cpp \
swissChili23958ca2022-02-21 19:23:34 -080017 StdLib.cpp \
18 Token.cpp \
19 VarContext.cpp
20
21HEADERS += \
22 AstNode.h \
23 Evaluator.h \
24 Function.h \
25 Matcher.h \
26 Parser.h \
swissChilif8c74f02022-04-16 18:47:16 -070027 PPrint.h \
swissChili23958ca2022-02-21 19:23:34 -080028 StdLib.h \
29 Token.h \
30 VarContext.h
31
swissChilif8c74f02022-04-16 18:47:16 -070032includeCli {
33 SOURCES += Repl.cpp
34 HEADERS += Repl.h
35}
36
swissChili23958ca2022-02-21 19:23:34 -080037include(ide/IDE.pri)
38
39# Default rules for deployment.
40qnx: target.path = /tmp/$${TARGET}/bin
41else: unix:!android: target.path = /opt/$${TARGET}/bin
42!isEmpty(target.path): INSTALLS += target
43
swissChilif8c74f02022-04-16 18:47:16 -070044includeCli {
45 LIBS += -lreadline
46 DEFINES += INCLUDE_CLI
47}
swissChilid2af6ad2022-04-16 14:42:17 -070048
49TRANSLATIONS += $$files(ts/*.ts)
50RESOURCES += translations.qrc