mirror of
https://gitlab.com/Syping/luaengineapp.git
synced 2024-12-22 03:45:32 +01:00
CONFIG+=LUAENGINE_LUA53 for using Lua 5.3
This commit is contained in:
parent
e6ba06c054
commit
ecccadcd8a
5 changed files with 16 additions and 4 deletions
|
@ -15,4 +15,8 @@
|
|||
#* limitations under the License.
|
||||
#*****************************************************************************/
|
||||
|
||||
include($$PWD/lua54.pri)
|
||||
CONFIG(LUAENGINE_LUA53) {
|
||||
include($$PWD/lua53.pri)
|
||||
} else {
|
||||
include($$PWD/lua54.pri)
|
||||
}
|
||||
|
|
|
@ -15,8 +15,6 @@
|
|||
#* limitations under the License.
|
||||
#*****************************************************************************/
|
||||
|
||||
DEFINES += LUA_COMPAT_5_2
|
||||
DEFINES += LUAENGINE_LUA_53
|
||||
shared: win32: DEFINES += LUA_BUILD_AS_DLL
|
||||
linux: DEFINES += LUA_USE_LINUX
|
||||
gcc: QMAKE_CFLAGS += -Wno-cast-function-type
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
#* limitations under the License.
|
||||
#*****************************************************************************/
|
||||
|
||||
DEFINES += LUA_COMPAT_5_2
|
||||
DEFINES += LUAENGINE_LUA_53
|
||||
|
||||
INCLUDEPATH += \
|
||||
$$PWD/lua53_module
|
||||
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
#* limitations under the License.
|
||||
#*****************************************************************************/
|
||||
|
||||
DEFINES += LUA_COMPAT_5_2
|
||||
DEFINES += LUAENGINE_LUA_54
|
||||
|
||||
INCLUDEPATH += \
|
||||
$$PWD/lua54_module
|
||||
|
||||
|
|
|
@ -15,4 +15,8 @@
|
|||
#* limitations under the License.
|
||||
#*****************************************************************************/
|
||||
|
||||
include($$PWD/lua54_module.pri)
|
||||
CONFIG(LUAENGINE_LUA53) {
|
||||
include($$PWD/lua53_module.pri)
|
||||
} else {
|
||||
include($$PWD/lua54_module.pri)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue