mirror of
https://gitlab.com/Syping/luaengineapp.git
synced 2025-09-06 08:52:05 +02:00
add executeProcess function and OS library
This commit is contained in:
parent
e189120982
commit
7773d84176
12 changed files with 220 additions and 12 deletions
|
@ -25,7 +25,6 @@ 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 += \
|
||||
|
@ -33,7 +32,8 @@ SOURCES += \
|
|||
|
||||
HEADERS += \
|
||||
luaengine/LuaEngine.h \
|
||||
luaengine/LuaEngine_global.h
|
||||
luaengine/LuaEngine_global.h \
|
||||
luaengine/LuaEngine_macro.h
|
||||
|
||||
SOURCES += \
|
||||
lua/lapi.c \
|
||||
|
|
29
src/luaengine/luaengine/LuaEngine_macro.h
Normal file
29
src/luaengine/luaengine/LuaEngine_macro.h
Normal file
|
@ -0,0 +1,29 @@
|
|||
/*****************************************************************************
|
||||
* 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.
|
||||
*****************************************************************************/
|
||||
|
||||
#ifndef LUAENGINE_MACRO_H
|
||||
#define LUAENGINE_MACRO_H
|
||||
|
||||
#define getArguments LuaEngine::getArguments
|
||||
#define getArgumentCount LuaEngine::getArgumentCount
|
||||
#define getPointer LuaEngine::getPointer
|
||||
#define getVariant LuaEngine::getVariant
|
||||
#define pushFunction LuaEngine::pushFunction
|
||||
#define pushPointer LuaEngine::pushPointer
|
||||
#define pushVariant LuaEngine::pushVariant
|
||||
|
||||
#endif // LUAENGINE_MACRO_H
|
Loading…
Add table
Add a link
Reference in a new issue