blob: 8726fb94ec2f8c4a9a613cb188258a8956ef00ef [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 \
swissChili23958ca2022-02-21 19:23:34 -080018 VarContext.cpp
19
20HEADERS += \
21 AstNode.h \
22 Evaluator.h \
23 Function.h \
24 Matcher.h \
25 Parser.h \
swissChilif8c74f02022-04-16 18:47:16 -070026 PPrint.h \
swissChili23958ca2022-02-21 19:23:34 -080027 StdLib.h \
28 Token.h \
29 VarContext.h
30
swissChilif8c74f02022-04-16 18:47:16 -070031includeCli {
32 SOURCES += Repl.cpp
33 HEADERS += Repl.h
34}
35
swissChili23958ca2022-02-21 19:23:34 -080036include(ide/IDE.pri)
37
38# Default rules for deployment.
39qnx: target.path = /tmp/$${TARGET}/bin
40else: unix:!android: target.path = /opt/$${TARGET}/bin
41!isEmpty(target.path): INSTALLS += target
42
swissChilif8c74f02022-04-16 18:47:16 -070043includeCli {
44 LIBS += -lreadline
45 DEFINES += INCLUDE_CLI
46}
swissChilid2af6ad2022-04-16 14:42:17 -070047
48TRANSLATIONS += $$files(ts/*.ts)
49RESOURCES += translations.qrc