mirror of
https://gitlab.com/Syping/luaengineapp.git
synced 2024-11-04 21:16:56 +01:00
static builds should be fixed
This commit is contained in:
parent
74d0e57ce0
commit
6801690c28
5 changed files with 7 additions and 7 deletions
|
@ -16,10 +16,9 @@
|
|||
#*****************************************************************************/
|
||||
|
||||
QT -= gui
|
||||
CONFIG += c++11
|
||||
|
||||
TARGET = luaengine
|
||||
TEMPLATE = lib
|
||||
CONFIG += c++11
|
||||
|
||||
DEFINES += LUAENGINE_LIBRARY
|
||||
DEFINES += LUA_COMPAT_5_2
|
||||
|
|
|
@ -19,6 +19,8 @@ QT += core network gui widgets
|
|||
TARGET = luaengineapp
|
||||
CONFIG += c++11
|
||||
|
||||
static: DEFINES += LUAENGINE_STATIC
|
||||
|
||||
CONFIG(debug, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengine/debug -lluaengine -L$$OUT_PWD/../luaenginegui/debug -lluaenginegui
|
||||
CONFIG(release, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengine/release -lluaengine -L$$OUT_PWD/../luaenginegui/release -lluaenginegui
|
||||
unix: LIBS += -L$$OUT_PWD/../luaengine -lluaengine -L$$OUT_PWD/../luaenginegui -lluaenginegui
|
||||
|
|
|
@ -58,7 +58,7 @@ int main(int argc, char *argv[])
|
|||
luaEngineGui.executeLuaScript(&luaScript);
|
||||
|
||||
QVariantList arguments;
|
||||
for (const QString argument : a.arguments()) {
|
||||
for (const QString &argument : a.arguments()) {
|
||||
arguments << QVariant::fromValue(argument);
|
||||
}
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
#ifndef LUAENGINEGUI_STATIC
|
||||
#ifndef LUAENGINE_STATIC
|
||||
#ifdef LUAENGINEGUI_LIBRARY
|
||||
#define LUAENGINEGUISHARED_EXPORT Q_DECL_EXPORT
|
||||
#else
|
||||
|
|
|
@ -16,13 +16,12 @@
|
|||
#*****************************************************************************/
|
||||
|
||||
QT += core network gui widgets
|
||||
CONFIG += c++11
|
||||
|
||||
TARGET = luaenginegui
|
||||
TEMPLATE = lib
|
||||
CONFIG += c++11
|
||||
|
||||
DEFINES += LUAENGINEGUI_LIBRARY
|
||||
static: DEFINES += LUAENGINEGUI_STATIC
|
||||
static: DEFINES += LUAENGINE_STATIC
|
||||
|
||||
CONFIG(debug, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengine/debug -lluaengine
|
||||
CONFIG(release, debug|release): win32: LIBS += -L$$OUT_PWD/../luaengine/release -lluaengine
|
||||
|
|
Loading…
Reference in a new issue