add Lua 5.4 support as default

This commit is contained in:
Syping 2020-07-02 16:09:52 +02:00
parent e455f46fff
commit c358d576ae
133 changed files with 27829 additions and 75 deletions

View file

@ -1,6 +1,6 @@
#/*****************************************************************************
#* luaEngine Lua Engine for Qt
#* Copyright (C) 2018-2019 Syping
#* Copyright (C) 2020 Syping
#*
#* Licensed under the Apache License, Version 2.0 (the "License");
#* you may not use this file except in compliance with the License.
@ -23,11 +23,7 @@ CONFIG += c++11 \
VERSION = 0.1
DEFINES += LUAENGINE_LIBRARY
DEFINES += LUA_COMPAT_5_2
shared: win32: DEFINES += LUA_BUILD_AS_DLL
static: DEFINES += LUAENGINE_STATIC
linux: DEFINES += LUA_USE_LINUX
gcc: QMAKE_CFLAGS += -Wno-cast-function-type
# PROJECT PREFIX
unix {
@ -45,68 +41,9 @@ HEADERS += \
luaengine/LuaEngine_macro.h \
luaengine/LuaEngineAddon.h \
luaengine/LuaEngineRegistry.h
SOURCES += \
lua/lapi.c \
lua/lauxlib.c \
lua/lbaselib.c \
lua/lbitlib.c \
lua/lcode.c \
lua/lcorolib.c \
lua/lctype.c \
lua/ldblib.c \
lua/ldebug.c \
lua/ldo.c \
lua/ldump.c \
lua/lfunc.c \
lua/lgc.c \
lua/linit.c \
lua/liolib.c \
lua/llex.c \
lua/lmathlib.c \
lua/lmem.c \
lua/loadlib.c \
lua/lobject.c \
lua/lopcodes.c \
lua/loslib.c \
lua/lparser.c \
lua/lstate.c \
lua/lstring.c \
lua/lstrlib.c \
lua/ltable.c \
lua/ltablib.c \
lua/ltm.c \
lua/lundump.c \
lua/lutf8lib.c \
lua/lvm.c \
lua/lzio.c
HEADERS += \
lua/lapi.h \
lua/lauxlib.h \
lua/lcode.h \
lua/lctype.h \
lua/ldebug.h \
lua/ldo.h \
lua/lfunc.h \
lua/lgc.h \
lua/llex.h \
lua/llimits.h \
lua/lmem.h \
lua/lobject.h \
lua/lopcodes.h \
lua/lparser.h \
lua/lprefix.h \
lua/lstate.h \
lua/lstring.h \
lua/ltable.h \
lua/ltm.h \
lua/lua.h \
lua/luaconf.h \
lua/lualib.h \
lua/lundump.h \
lua/lvm.h \
lua/lzio.h
include(lua.pri)
include(lua_module.pri)
unix {
target.path = $$LUAENGINE_LIBDIR