-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpqConsole.pro
86 lines (71 loc) · 1.74 KB
/
pqConsole.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#--------------------------------------------------
# pqConsole.pro: SWI-Prolog / QT interface
#--------------------------------------------------
#
# REPL in QTextEdit on a background logic processor
#--------------------------------------------------
# Ing. Capelli Carlo - Brescia 2013
#-------------------------------------------------
# Project created by QtCreator 2013-03-27T12:59:54
#-------------------------------------------------
QT += testlib
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = pqConsole
TEMPLATE = lib
DEFINES += PQCONSOLE_LIBRARY
# please, not obsolete compiler
QMAKE_CXXFLAGS += -std=c++0x
SOURCES += \
pqConsole.cpp \
SwiPrologEngine.cpp \
ConsoleEdit.cpp \
pqTerm.cpp \
Completion.cpp \
Swipl_IO.cpp \
pqMainWindow.cpp \
Preferences.cpp \
FlushOutputEvents.cpp
HEADERS += \
pqConsole.h \
pqConsole_global.h \
SwiPrologEngine.h \
ConsoleEdit.h \
PREDICATE.h \
pqTerm.h \
Completion.h \
Swipl_IO.h \
pqMainWindow.h \
Preferences.h \
do_events.h \
FlushOutputEvents.h
symbian {
MMP_RULES += EXPORTUNFROZEN
TARGET.UID3 = 0xE3F3BDE3
TARGET.CAPABILITY =
TARGET.EPOCALLOWDLLDATA = 1
addFiles.sources = pqConsole.dll
addFiles.path = !:/sys/bin
DEPLOYMENT += addFiles
}
unix:!symbian {
# because SWI-Prolog is built from source
CONFIG += link_pkgconfig
PKGCONFIG += swipl
maemo5 {
target.path = /opt/usr/lib
} else {
target.path = /usr/lib
}
INSTALLS += target
}
windows {
SwiPl = "C:\Program Files\pl"
INCLUDEPATH += $$SwiPl\include
LIBS += -L$$SwiPl\bin -lswipl
}
OTHER_FILES += \
README.md \
pqConsole.doxy \
swipl.png
RESOURCES += \
pqConsole.qrc