luaengineapp/src/luaengine/luaengine.pro

98 lines
2.3 KiB
Prolog
Raw Normal View History

2018-08-22 21:33:38 +02:00
#/*****************************************************************************
#* luaEngine Lua Engine for Qt
#* Copyright (C) 2018 Syping
#*
#* Licensed under the Apache License, Version 2.0 (the "License");
#* you may not use this file except in compliance with the License.
#* You may obtain a copy of the License at
#*
#* http://www.apache.org/licenses/LICENSE-2.0
#*
#* Unless required by applicable law or agreed to in writing, software
#* distributed under the License is distributed on an "AS IS" BASIS,
#* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#* See the License for the specific language governing permissions and
#* limitations under the License.
#*****************************************************************************/
QT -= gui
CONFIG += c++11
TARGET = luaengine
TEMPLATE = lib
DEFINES += LUAENGINE_LIBRARY
DEFINES += LUA_COMPAT_5_2
shared: win32: DEFINES += LUA_BUILD_AS_DLL
linux: DEFINES += LUA_USE_LINUX
linux: LIBS += -Wl,-E -ldl -lreadline
SOURCES += \
luaengine/LuaEngine.cpp
HEADERS += \
luaengine/LuaEngine.h \
luaengine/LuaEngine_global.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