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 += core network gui widgets
|
|
|
|
TARGET = luaengineapp
|
|
|
|
CONFIG += c++11
|
|
|
|
|
2018-08-28 03:23:30 +02:00
|
|
|
static: DEFINES += LUAENGINE_STATIC
|
|
|
|
|
2018-08-22 21:33:38 +02:00
|
|
|
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
|
|
|
|
win32: LIBS += -luser32
|
|
|
|
|
|
|
|
INCLUDEPATH += \
|
|
|
|
./luaenginestyle \
|
|
|
|
../luaengine/lua \
|
|
|
|
../luaengine/luaengine \
|
|
|
|
../luaenginegui/luaengine
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
main.cpp
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
luaenginestyle/LuaEngineStyle.h
|
|
|
|
|
|
|
|
RESOURCES += \
|
2019-09-20 03:25:18 +02:00
|
|
|
luaengineapp.qrc
|
2018-09-09 18:58:10 +02:00
|
|
|
|
|
|
|
DISTFILES += \
|
|
|
|
android/AndroidManifest.xml \
|
|
|
|
android/gradle/wrapper/gradle-wrapper.jar \
|
|
|
|
android/gradlew \
|
|
|
|
android/res/values/libs.xml \
|
|
|
|
android/build.gradle \
|
|
|
|
android/gradle/wrapper/gradle-wrapper.properties \
|
|
|
|
android/gradlew.bat \
|
|
|
|
android/AndroidManifest.xml \
|
|
|
|
android/gradle/wrapper/gradle-wrapper.jar \
|
|
|
|
android/gradlew \
|
|
|
|
android/res/values/libs.xml \
|
|
|
|
android/build.gradle \
|
|
|
|
android/gradle/wrapper/gradle-wrapper.properties \
|
|
|
|
android/gradlew.bat
|
|
|
|
|
|
|
|
ANDROID_EXTRA_LIBS += $$OUT_PWD/../luaengine/libluaengine.so $$OUT_PWD/../luaenginegui/libluaenginegui.so
|
|
|
|
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
|