mirror of
https://gitlab.com/Syping/luaengineapp.git
synced 2024-12-22 11:55:29 +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.
|
#* limitations under the License.
|
||||||
#*****************************************************************************/
|
#*****************************************************************************/
|
||||||
|
|
||||||
|
CONFIG(LUAENGINE_LUA53) {
|
||||||
|
include($$PWD/lua53.pri)
|
||||||
|
} else {
|
||||||
include($$PWD/lua54.pri)
|
include($$PWD/lua54.pri)
|
||||||
|
}
|
||||||
|
|
|
@ -15,8 +15,6 @@
|
||||||
#* limitations under the License.
|
#* limitations under the License.
|
||||||
#*****************************************************************************/
|
#*****************************************************************************/
|
||||||
|
|
||||||
DEFINES += LUA_COMPAT_5_2
|
|
||||||
DEFINES += LUAENGINE_LUA_53
|
|
||||||
shared: win32: DEFINES += LUA_BUILD_AS_DLL
|
shared: win32: DEFINES += LUA_BUILD_AS_DLL
|
||||||
linux: DEFINES += LUA_USE_LINUX
|
linux: DEFINES += LUA_USE_LINUX
|
||||||
gcc: QMAKE_CFLAGS += -Wno-cast-function-type
|
gcc: QMAKE_CFLAGS += -Wno-cast-function-type
|
||||||
|
|
|
@ -15,6 +15,9 @@
|
||||||
#* limitations under the License.
|
#* limitations under the License.
|
||||||
#*****************************************************************************/
|
#*****************************************************************************/
|
||||||
|
|
||||||
|
DEFINES += LUA_COMPAT_5_2
|
||||||
|
DEFINES += LUAENGINE_LUA_53
|
||||||
|
|
||||||
INCLUDEPATH += \
|
INCLUDEPATH += \
|
||||||
$$PWD/lua53_module
|
$$PWD/lua53_module
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,9 @@
|
||||||
#* limitations under the License.
|
#* limitations under the License.
|
||||||
#*****************************************************************************/
|
#*****************************************************************************/
|
||||||
|
|
||||||
|
DEFINES += LUA_COMPAT_5_2
|
||||||
|
DEFINES += LUAENGINE_LUA_54
|
||||||
|
|
||||||
INCLUDEPATH += \
|
INCLUDEPATH += \
|
||||||
$$PWD/lua54_module
|
$$PWD/lua54_module
|
||||||
|
|
||||||
|
|
|
@ -15,4 +15,8 @@
|
||||||
#* limitations under the License.
|
#* limitations under the License.
|
||||||
#*****************************************************************************/
|
#*****************************************************************************/
|
||||||
|
|
||||||
|
CONFIG(LUAENGINE_LUA53) {
|
||||||
|
include($$PWD/lua53_module.pri)
|
||||||
|
} else {
|
||||||
include($$PWD/lua54_module.pri)
|
include($$PWD/lua54_module.pri)
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue