mirror of
https://gitlab.com/Syping/luaengineapp.git
synced 2024-12-22 11:55:29 +01:00
change structure
This commit is contained in:
parent
da69c259be
commit
df496eae97
73 changed files with 170 additions and 169 deletions
|
@ -2,7 +2,7 @@ stages:
|
||||||
- build
|
- build
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
luaengine:
|
LuaEngine Windows:
|
||||||
stage: build
|
stage: build
|
||||||
image: syping/qt5-shared-mingw-openssl:5.12.5
|
image: syping/qt5-shared-mingw-openssl:5.12.5
|
||||||
variables:
|
variables:
|
||||||
|
@ -10,23 +10,23 @@ luaengine:
|
||||||
script:
|
script:
|
||||||
- mkdir -p build
|
- mkdir -p build
|
||||||
- cd build
|
- cd build
|
||||||
- qmake CONFIG+=WITH_LUAENGINERUN ../luaengineapp.pro
|
- qmake CONFIG+=WITH_LUAENGINERUN ../luaengine.pro
|
||||||
- make -j4
|
- make -j4
|
||||||
- cp -Rf src/luaengine/release/luaengine.dll ../
|
- cp -Rf src/luaenginecore/release/LuaEngine.dll ../
|
||||||
- cp -Rf src/luaenginerun/release/luaengine.exe ../
|
- cp -Rf src/luaenginegui/release/LuaEngineGui.dll ../
|
||||||
- cp -Rf src/luaenginegui/release/luaenginegui.dll ../
|
- cp -Rf src/luaengineio/release/LuaEngineIO.dll ../
|
||||||
- cp -Rf src/luaengineio/release/luaengineio.dll ../
|
- cp -Rf src/luaengineos/release/LuaEngineOS.dll ../
|
||||||
- cp -Rf src/luaengineos/release/luaengineos.dll ../
|
- cp -Rf src/luaengine/release/LuaEngine.exe ../
|
||||||
- cd ..
|
- cd ..
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- "luaengine.dll"
|
- "LuaEngine.dll"
|
||||||
- "luaengine.exe"
|
- "LuaEngine.exe"
|
||||||
- "luaenginegui.dll"
|
- "LuaEngineGui.dll"
|
||||||
- "luaengineio.dll"
|
- "LuaEngineIO.dll"
|
||||||
- "luaengineos.dll"
|
- "LuaEngineOS.dll"
|
||||||
|
|
||||||
luaengineapp:
|
LuaEngineApp:
|
||||||
stage: build
|
stage: build
|
||||||
image: syping/qt5-static-mingw-openssl:5.12.5
|
image: syping/qt5-static-mingw-openssl:5.12.5
|
||||||
variables:
|
variables:
|
||||||
|
@ -36,11 +36,11 @@ luaengineapp:
|
||||||
- cd build
|
- cd build
|
||||||
- qmake-static CONFIG+=WITH_LUAENGINEAPP ../luaengineapp.pro
|
- qmake-static CONFIG+=WITH_LUAENGINEAPP ../luaengineapp.pro
|
||||||
- make -j4
|
- make -j4
|
||||||
- cp -Rf src/luaengineapp/release/luaengineapp.exe ../
|
- cp -Rf src/luaengineapp/release/LuaEngineApp.exe ../
|
||||||
- cd ..
|
- cd ..
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- "luaengineapp.exe"
|
- "LuaEngineApp.exe"
|
||||||
|
|
||||||
LuaEngine Setup:
|
LuaEngine Setup:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
@ -48,11 +48,10 @@ LuaEngine Setup:
|
||||||
script:
|
script:
|
||||||
- apt-get update -qq
|
- apt-get update -qq
|
||||||
- apt-get install nsis -qq
|
- apt-get install nsis -qq
|
||||||
- nsis
|
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "luaengine-$CI_COMMIT_REF_NAME-${CI_COMMIT_SHA:0:8}"
|
name: "luaengine-$CI_COMMIT_REF_NAME-${CI_COMMIT_SHA:0:8}"
|
||||||
paths:
|
paths:
|
||||||
- "luaengine_setup.exe"
|
- "luaengine_setup.exe"
|
||||||
dependencies:
|
dependencies:
|
||||||
- luaengine
|
- LuaEngine Windows
|
||||||
- luaengineapp
|
- LuaEngineApp
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#/*****************************************************************************
|
#/*****************************************************************************
|
||||||
#* luaEngine Lua Engine for Qt
|
#* luaEngine Lua Engine for Qt
|
||||||
#* Copyright (C) 2018-2019 Syping
|
#* Copyright (C) 2019 Syping
|
||||||
#*
|
#*
|
||||||
#* Licensed under the Apache License, Version 2.0 (the "License");
|
#* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
#* you may not use this file except in compliance with the License.
|
#* you may not use this file except in compliance with the License.
|
||||||
|
@ -15,94 +15,23 @@
|
||||||
#* limitations under the License.
|
#* limitations under the License.
|
||||||
#*****************************************************************************/
|
#*****************************************************************************/
|
||||||
|
|
||||||
QT -= gui
|
QT += core gui widgets
|
||||||
TARGET = luaengine
|
TARGET = luaengine
|
||||||
TEMPLATE = lib
|
win32: TARGET = LuaEngine
|
||||||
CONFIG += c++11 \
|
CONFIG += c++11
|
||||||
skip_target_version_ext
|
|
||||||
VERSION = 0.1
|
|
||||||
|
|
||||||
DEFINES += LUAENGINE_LIBRARY
|
|
||||||
DEFINES += LUA_COMPAT_5_2
|
|
||||||
shared: win32: DEFINES += LUA_BUILD_AS_DLL
|
|
||||||
static: DEFINES += LUAENGINE_STATIC
|
static: DEFINES += LUAENGINE_STATIC
|
||||||
linux: DEFINES += LUA_USE_LINUX
|
|
||||||
gcc: QMAKE_CFLAGS += -Wno-cast-function-type
|
CONFIG(debug, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengineos/debug -lLuaEngineOS -L$$OUT_PWD/../luaengineio/debug -lLuaEngineIO -L$$OUT_PWD/../luaenginegui/debug -lLuaEngineGui -L$$OUT_PWD/../luaenginecore/debug -lLuaEngine
|
||||||
|
CONFIG(release, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengineos/release -lLuaEngineOS -L$$OUT_PWD/../luaengineio/release -lLuaEngineIO -L$$OUT_PWD/../luaenginegui/release -lLuaEngineGui -L$$OUT_PWD/../luaenginecore/release -lLuaEngine
|
||||||
|
unix: LIBS += -L$$OUT_PWD/../luaengineos -lLuaEngineOS -L$$OUT_PWD/../luaengineio -lLuaEngineIO -L$$OUT_PWD/../luaenginegui -lLuaEngineGui -L$$OUT_PWD/../luaenginecore -lLuaEngine
|
||||||
|
|
||||||
|
INCLUDEPATH += \
|
||||||
|
../luaenginecore/lua \
|
||||||
|
../luaenginecore/luaengine \
|
||||||
|
../luaenginegui/luaengine \
|
||||||
|
../luaengineio/luaengine \
|
||||||
|
../luaengineos/luaengine
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
luaengine/LuaEngine.cpp
|
main.cpp
|
||||||
|
|
||||||
HEADERS += \
|
|
||||||
luaengine/LuaEngine.h \
|
|
||||||
luaengine/LuaEngine_global.h \
|
|
||||||
luaengine/LuaEngine_macro.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
|
|
||||||
|
|
||||||
win32 {
|
|
||||||
RC_LANG = 0x0
|
|
||||||
QMAKE_TARGET_COMPANY = "Syping"
|
|
||||||
QMAKE_TARGET_DESCRIPTION = "LuaEngine Library"
|
|
||||||
QMAKE_TARGET_COPYRIGHT = "Copyright (c) 2018-2019 Syping"
|
|
||||||
QMAKE_TARGET_PRODUCT = "luaengine"
|
|
||||||
}
|
|
||||||
|
|
|
@ -17,17 +17,18 @@
|
||||||
|
|
||||||
QT += core gui widgets
|
QT += core gui widgets
|
||||||
TARGET = luaengineapp
|
TARGET = luaengineapp
|
||||||
|
win32: TARGET = LuaEngineApp
|
||||||
CONFIG += c++11
|
CONFIG += c++11
|
||||||
|
|
||||||
static: DEFINES += LUAENGINE_STATIC
|
static: DEFINES += LUAENGINE_STATIC
|
||||||
|
|
||||||
CONFIG(debug, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengineos/debug -lluaengineos -L$$OUT_PWD/../luaengineio/debug -lluaengineio -L$$OUT_PWD/../luaenginegui/debug -lluaenginegui -L$$OUT_PWD/../luaengine/debug -lluaengine
|
CONFIG(debug, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengineos/debug -lLuaEngineOS -L$$OUT_PWD/../luaengineio/debug -lLuaEngineIO -L$$OUT_PWD/../luaenginegui/debug -lLuaEngineGui -L$$OUT_PWD/../luaenginecore/debug -lLuaEngine
|
||||||
CONFIG(release, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengineos/release -lluaengineos -L$$OUT_PWD/../luaengineio/release -lluaengineio -L$$OUT_PWD/../luaenginegui/release -lluaenginegui -L$$OUT_PWD/../luaengine/release -lluaengine
|
CONFIG(release, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengineos/release -lLuaEngineOS -L$$OUT_PWD/../luaengineio/release -lLuaEngineIO -L$$OUT_PWD/../luaenginegui/release -lLuaEngineGui -L$$OUT_PWD/../luaenginecore/release -lLuaEngine
|
||||||
unix: LIBS += -L$$OUT_PWD/../luaengineos -lluaengineos -L$$OUT_PWD/../luaengineio -lluaengineio -L$$OUT_PWD/../luaenginegui -lluaenginegui -L$$OUT_PWD/../luaengine -lluaengine
|
unix: LIBS += -L$$OUT_PWD/../luaengineos -lLuaEngineOS -L$$OUT_PWD/../luaengineio -lLuaEngineIO -L$$OUT_PWD/../luaenginegui -lLuaEngineGui -L$$OUT_PWD/../luaenginecore -lLuaEngine
|
||||||
|
|
||||||
INCLUDEPATH += \
|
INCLUDEPATH += \
|
||||||
../luaengine/lua \
|
../luaenginecore/lua \
|
||||||
../luaengine/luaengine \
|
../luaenginecore/luaengine \
|
||||||
../luaenginegui/luaengine \
|
../luaenginegui/luaengine \
|
||||||
../luaengineio/luaengine \
|
../luaengineio/luaengine \
|
||||||
../luaengineos/luaengine
|
../luaengineos/luaengine
|
||||||
|
|
108
src/luaenginecore/luaenginecore.pro
Normal file
108
src/luaenginecore/luaenginecore.pro
Normal file
|
@ -0,0 +1,108 @@
|
||||||
|
#/*****************************************************************************
|
||||||
|
#* luaEngine Lua Engine for Qt
|
||||||
|
#* Copyright (C) 2018-2019 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
|
||||||
|
TARGET = LuaEngine
|
||||||
|
TEMPLATE = lib
|
||||||
|
CONFIG += c++11 \
|
||||||
|
skip_target_version_ext
|
||||||
|
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
|
||||||
|
|
||||||
|
SOURCES += \
|
||||||
|
luaengine/LuaEngine.cpp
|
||||||
|
|
||||||
|
HEADERS += \
|
||||||
|
luaengine/LuaEngine.h \
|
||||||
|
luaengine/LuaEngine_global.h \
|
||||||
|
luaengine/LuaEngine_macro.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
|
||||||
|
|
||||||
|
win32 {
|
||||||
|
RC_LANG = 0x0
|
||||||
|
QMAKE_TARGET_COMPANY = "Syping"
|
||||||
|
QMAKE_TARGET_DESCRIPTION = "LuaEngine Library"
|
||||||
|
QMAKE_TARGET_COPYRIGHT = "Copyright (c) 2018-2019 Syping"
|
||||||
|
QMAKE_TARGET_PRODUCT = "LuaEngine"
|
||||||
|
}
|
|
@ -16,7 +16,7 @@
|
||||||
#*****************************************************************************/
|
#*****************************************************************************/
|
||||||
|
|
||||||
QT += core gui widgets
|
QT += core gui widgets
|
||||||
TARGET = luaenginegui
|
TARGET = LuaEngineGui
|
||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
CONFIG += c++11 \
|
CONFIG += c++11 \
|
||||||
skip_target_version_ext
|
skip_target_version_ext
|
||||||
|
@ -25,13 +25,13 @@ VERSION = 0.1
|
||||||
DEFINES += LUAENGINEGUI_LIBRARY
|
DEFINES += LUAENGINEGUI_LIBRARY
|
||||||
static: DEFINES += LUAENGINE_STATIC
|
static: DEFINES += LUAENGINE_STATIC
|
||||||
|
|
||||||
CONFIG(debug, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengine/debug -lluaengine
|
CONFIG(debug, debug|release): win32: LIBS += -L$$OUT_PWD/../luaenginecore/debug -lLuaEngine
|
||||||
CONFIG(release, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengine/release -lluaengine
|
CONFIG(release, debug|release): win32: LIBS += -L$$OUT_PWD/../luaenginecore/release -lLuaEngine
|
||||||
unix: LIBS += -L$$OUT_PWD/../luaengine -lluaengine
|
unix: LIBS += -L$$OUT_PWD/../luaenginecore -lLuaEngine
|
||||||
|
|
||||||
INCLUDEPATH += \
|
INCLUDEPATH += \
|
||||||
../luaengine/lua \
|
../luaenginecore/lua \
|
||||||
../luaengine/luaengine
|
../luaenginecore/luaengine
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
luaengine/LuaEngineGui.cpp
|
luaengine/LuaEngineGui.cpp
|
||||||
|
@ -45,5 +45,5 @@ win32 {
|
||||||
QMAKE_TARGET_COMPANY = "Syping"
|
QMAKE_TARGET_COMPANY = "Syping"
|
||||||
QMAKE_TARGET_DESCRIPTION = "LuaEngine Gui Library"
|
QMAKE_TARGET_DESCRIPTION = "LuaEngine Gui Library"
|
||||||
QMAKE_TARGET_COPYRIGHT = "Copyright (c) 2018-2019 Syping"
|
QMAKE_TARGET_COPYRIGHT = "Copyright (c) 2018-2019 Syping"
|
||||||
QMAKE_TARGET_PRODUCT = "luaenginegui"
|
QMAKE_TARGET_PRODUCT = "LuaEngineGui"
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#*****************************************************************************/
|
#*****************************************************************************/
|
||||||
|
|
||||||
QT += core
|
QT += core
|
||||||
TARGET = luaengineio
|
TARGET = LuaEngineIO
|
||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
CONFIG += c++11 \
|
CONFIG += c++11 \
|
||||||
skip_target_version_ext
|
skip_target_version_ext
|
||||||
|
@ -25,13 +25,13 @@ VERSION = 0.1
|
||||||
DEFINES += LUAENGINEIO_LIBRARY
|
DEFINES += LUAENGINEIO_LIBRARY
|
||||||
static: DEFINES += LUAENGINE_STATIC
|
static: DEFINES += LUAENGINE_STATIC
|
||||||
|
|
||||||
CONFIG(debug, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengine/debug -lluaengine
|
CONFIG(debug, debug|release): win32: LIBS += -L$$OUT_PWD/../luaenginecore/debug -lLuaEngine
|
||||||
CONFIG(release, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengine/release -lluaengine
|
CONFIG(release, debug|release): win32: LIBS += -L$$OUT_PWD/../luaenginecore/release -lLuaEngine
|
||||||
unix: LIBS += -L$$OUT_PWD/../luaengine -lluaengine
|
unix: LIBS += -L$$OUT_PWD/../luaenginecore -lLuaEngine
|
||||||
|
|
||||||
INCLUDEPATH += \
|
INCLUDEPATH += \
|
||||||
../luaengine/lua \
|
../luaenginecore/lua \
|
||||||
../luaengine/luaengine
|
../luaenginecore/luaengine
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
luaengine/LuaEngineIO.cpp
|
luaengine/LuaEngineIO.cpp
|
||||||
|
@ -45,5 +45,5 @@ win32 {
|
||||||
QMAKE_TARGET_COMPANY = "Syping"
|
QMAKE_TARGET_COMPANY = "Syping"
|
||||||
QMAKE_TARGET_DESCRIPTION = "LuaEngine I/O Library"
|
QMAKE_TARGET_DESCRIPTION = "LuaEngine I/O Library"
|
||||||
QMAKE_TARGET_COPYRIGHT = "Copyright (c) 2019 Syping"
|
QMAKE_TARGET_COPYRIGHT = "Copyright (c) 2019 Syping"
|
||||||
QMAKE_TARGET_PRODUCT = "luaengineio"
|
QMAKE_TARGET_PRODUCT = "LuaEngineIO"
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#*****************************************************************************/
|
#*****************************************************************************/
|
||||||
|
|
||||||
QT += core
|
QT += core
|
||||||
TARGET = luaengineos
|
TARGET = LuaEngineOS
|
||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
CONFIG += c++11 \
|
CONFIG += c++11 \
|
||||||
skip_target_version_ext
|
skip_target_version_ext
|
||||||
|
@ -25,13 +25,13 @@ VERSION = 0.1
|
||||||
DEFINES += LUAENGINEOS_LIBRARY
|
DEFINES += LUAENGINEOS_LIBRARY
|
||||||
static: DEFINES += LUAENGINE_STATIC
|
static: DEFINES += LUAENGINE_STATIC
|
||||||
|
|
||||||
CONFIG(debug, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengine/debug -lluaengine
|
CONFIG(debug, debug|release): win32: LIBS += -L$$OUT_PWD/../luaenginecore/debug -lLuaEngine
|
||||||
CONFIG(release, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengine/release -lluaengine
|
CONFIG(release, debug|release): win32: LIBS += -L$$OUT_PWD/../luaenginecore/release -lLuaEngine
|
||||||
unix: LIBS += -L$$OUT_PWD/../luaengine -lluaengine
|
unix: LIBS += -L$$OUT_PWD/../luaenginecore -lLuaEngine
|
||||||
|
|
||||||
INCLUDEPATH += \
|
INCLUDEPATH += \
|
||||||
../luaengine/lua \
|
../luaenginecore/lua \
|
||||||
../luaengine/luaengine
|
../luaenginecore/luaengine
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
luaengine/LuaEngineOS.cpp
|
luaengine/LuaEngineOS.cpp
|
||||||
|
@ -45,5 +45,5 @@ win32 {
|
||||||
QMAKE_TARGET_COMPANY = "Syping"
|
QMAKE_TARGET_COMPANY = "Syping"
|
||||||
QMAKE_TARGET_DESCRIPTION = "LuaEngine OS Library"
|
QMAKE_TARGET_DESCRIPTION = "LuaEngine OS Library"
|
||||||
QMAKE_TARGET_COPYRIGHT = "Copyright (c) 2019 Syping"
|
QMAKE_TARGET_COPYRIGHT = "Copyright (c) 2019 Syping"
|
||||||
QMAKE_TARGET_PRODUCT = "luaengineos"
|
QMAKE_TARGET_PRODUCT = "LuaEngineOS"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,36 +0,0 @@
|
||||||
#/*****************************************************************************
|
|
||||||
#* luaEngine Lua Engine for Qt
|
|
||||||
#* Copyright (C) 2019 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 += core gui widgets
|
|
||||||
TARGET = luaengine
|
|
||||||
CONFIG += c++11
|
|
||||||
|
|
||||||
static: DEFINES += LUAENGINE_STATIC
|
|
||||||
|
|
||||||
CONFIG(debug, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengineos/debug -lluaengineos -L$$OUT_PWD/../luaengineio/debug -lluaengineio -L$$OUT_PWD/../luaenginegui/debug -lluaenginegui -L$$OUT_PWD/../luaengine/debug -lluaengine
|
|
||||||
CONFIG(release, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengineos/release -lluaengineos -L$$OUT_PWD/../luaengineio/release -lluaengineio -L$$OUT_PWD/../luaenginegui/release -lluaenginegui -L$$OUT_PWD/../luaengine/release -lluaengine
|
|
||||||
unix: LIBS += -L$$OUT_PWD/../luaengineos -lluaengineos -L$$OUT_PWD/../luaengineio -lluaengineio -L$$OUT_PWD/../luaenginegui -lluaenginegui -L$$OUT_PWD/../luaengine -lluaengine
|
|
||||||
|
|
||||||
INCLUDEPATH += \
|
|
||||||
../luaengine/lua \
|
|
||||||
../luaengine/luaengine \
|
|
||||||
../luaenginegui/luaengine \
|
|
||||||
../luaengineio/luaengine \
|
|
||||||
../luaengineos/luaengine
|
|
||||||
|
|
||||||
SOURCES += \
|
|
||||||
main.cpp
|
|
|
@ -18,10 +18,10 @@
|
||||||
TEMPLATE = subdirs
|
TEMPLATE = subdirs
|
||||||
CONFIG += ordered
|
CONFIG += ordered
|
||||||
|
|
||||||
SUBDIRS += luaengine \
|
SUBDIRS += luaenginecore \
|
||||||
luaenginegui \
|
luaenginegui \
|
||||||
luaengineio \
|
luaengineio \
|
||||||
luaengineos
|
luaengineos
|
||||||
|
|
||||||
CONFIG(WITH_LUAENGINEAPP): SUBDIRS += luaengineapp
|
CONFIG(WITH_LUAENGINEAPP): SUBDIRS += luaengineapp
|
||||||
CONFIG(WITH_LUAENGINERUN): SUBDIRS += luaenginerun
|
CONFIG(WITH_LUAENGINERUN): SUBDIRS += luaengine
|
||||||
|
|
Loading…
Reference in a new issue