This repository has been archived by the owner on Feb 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Lua4RS.pro
102 lines (87 loc) · 2.36 KB
/
Lua4RS.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
!include("../Common/retroshare_plugin.pri")::error( "Could not include file ../Common/retroshare_plugin.pri" )
CONFIG += qt resources uic qrc
greaterThan(QT_MAJOR_VERSION, 4) {
# Qt 5
QT += widgets
}
# when rapidjson is mainstream on all distribs, we will not need the sources anymore
# in the meantime, they are part of the RS directory so that it is always possible to find them
INCLUDEPATH += ../../rapidjson-1.1.0
linux-* {
CONFIG += link_pkgconfig
# Test for Lua5.2
lua52 = $$system(pkg-config --exists lua5.2 && echo ok)
isEmpty(lua52) {
# Test for Lua5.3
lua53 = $$system(pkg-config --exists lua5.3 && echo ok)
isEmpty(lua53) {
PKGCONFIG *= lua
} else {
PKGCONFIG *= lua5.3
}
} else {
PKGCONFIG *= lua5.2
}
}
win32 {
LIBS += -llua53
INCLUDEPATH += ../../../lua-5.3.0/src
}
HEADERS += \
Lua4RSPlugin.h \
Lua4RSNotify.h \
gui/Lua4RSWidget.h \
gui/Lua4RSConfig.h \
gui/Lua4RSTextEdit.h \
Lua/LuaCore.h \
Lua/LuaToRS.h \
Lua/LuaCode.h \
Lua/LuaList.h \
Lua/LuaConfig.h \
Lua/LuaContainer.h \
Lua/LuaEvent.h \
Lua/Trigger/LuaTriggerBase.h \
Lua/Trigger/LuaTriggerTimerInterval.h \
Lua/Trigger/LuaTriggerStartup.h \
Lua/Trigger/LuaTriggerEvent.h \
Lua/Trigger/LuaTriggerShutdown.h \
Lua/Trigger/LuaTriggerOnce.h \
service/p3Lua4RS.h \
interface/L4RInterface.h \
helper.h
SOURCES += \
Lua4RSPlugin.cpp \
Lua4RSNotify.cpp \
gui/Lua4RSWidget.cpp \
gui/Lua4RSConfig.cpp \
gui/Lua4RSTextEdit.cpp \
Lua/LuaCore.cpp \
Lua/LuaToRS.cpp \
Lua/LuaToRSPeers.cpp \
Lua/LuaCode.cpp \
Lua/LuaList.cpp \
Lua/LuaConfig.cpp \
Lua/LuaContainer.cpp \
Lua/Trigger/LuaTriggerBase.cpp \
Lua/Trigger/LuaTriggerTimerInterval.cpp \
Lua/Trigger/LuaTriggerStartup.cpp \
Lua/Trigger/LuaTriggerEvent.cpp \
Lua/Trigger/LuaTriggerShutdown.cpp \
Lua/Trigger/LuaTriggerOnce.cpp \
service/p3Lua4RS.cpp \
Lua/LuaToRSServerConfig.cpp \
Lua/LuaToRSDiscovery.cpp \
Lua/LuaToRSChat.cpp \
Lua/LuaToRSFile.cpp \
helper.cpp
FORMS += \
gui/Lua4RSWidget.ui \
gui/Lua4RSConfig.ui
TARGET = Lua4RS
RESOURCES += \
Lua4RS_images.qrc \
Lua4RS_lang.qrc
TRANSLATIONS += \
lang/Lua4RS_en.ts \
lang/Lua4RS_de.ts
XUP.QT_VERSION = Qt System (4.8.1)