2019-08-24 15:07:28 +00:00
|
|
|
# enve - 2D animations software
|
2020-01-02 19:46:10 +00:00
|
|
|
# Copyright (C) 2016-2020 Maurycy Liebner
|
2019-08-24 15:07:28 +00:00
|
|
|
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2019-06-02 16:53:04 +00:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2019-06-02T11:49:48
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
2019-09-10 11:51:03 +00:00
|
|
|
VERSION = 0.0.0
|
|
|
|
|
2020-03-18 22:38:56 +00:00
|
|
|
QT += core qml xml
|
2019-09-07 16:28:20 +00:00
|
|
|
CONFIG += c++14
|
2020-04-14 15:25:19 +00:00
|
|
|
|
2019-08-17 08:40:08 +00:00
|
|
|
ENVE_FOLDER = $$PWD/../../..
|
2019-06-02 16:53:04 +00:00
|
|
|
|
2019-07-21 20:52:15 +00:00
|
|
|
INCLUDEPATH += $$ENVE_FOLDER/include
|
|
|
|
DEPENDPATH += $$ENVE_FOLDER/include
|
2019-07-20 18:08:42 +00:00
|
|
|
|
2020-03-31 14:18:42 +00:00
|
|
|
SKIA_FOLDER = $$ENVE_FOLDER/third_party/skia
|
|
|
|
INCLUDEPATH += $$SKIA_FOLDER
|
|
|
|
DEPENDPATH += $$SKIA_FOLDER
|
2019-06-02 16:53:04 +00:00
|
|
|
|
|
|
|
CONFIG(debug, debug|release) {
|
2020-04-14 15:25:19 +00:00
|
|
|
LIBS += -L$$SKIA_FOLDER/out/Debug
|
2019-06-02 16:53:04 +00:00
|
|
|
} else {
|
2020-04-14 15:25:19 +00:00
|
|
|
LIBS += -L$$SKIA_FOLDER/out/Release
|
|
|
|
}
|
|
|
|
LIBS += -lskia
|
|
|
|
|
|
|
|
win32 { # Windows
|
|
|
|
LIBS += -luser32
|
|
|
|
|
|
|
|
QMAKE_CFLAGS_RELEASE += /O2 -O2
|
|
|
|
QMAKE_CXXFLAGS_RELEASE += /O2 -O2
|
|
|
|
} unix {
|
|
|
|
macx { # Mac OS X
|
2020-04-16 16:45:48 +00:00
|
|
|
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.13
|
|
|
|
LIBS += -framework CoreFoundation
|
|
|
|
LIBS += -framework CoreGraphics
|
|
|
|
LIBS += -framework CoreText
|
|
|
|
LIBS += -framework CoreServices
|
|
|
|
INCLUDEPATH += /usr/local/include
|
|
|
|
LIBS += -L/usr/local/lib
|
2020-04-14 15:25:19 +00:00
|
|
|
} else { # Linux
|
|
|
|
QMAKE_CFLAGS_RELEASE -= -O2
|
|
|
|
QMAKE_CFLAGS_RELEASE -= -O1
|
|
|
|
QMAKE_CXXFLAGS_RELEASE -= -O2
|
|
|
|
QMAKE_CXXFLAGS_RELEASE -= -O1
|
|
|
|
QMAKE_CFLAGS_RELEASE = -m64 -O3
|
|
|
|
QMAKE_LFLAGS_RELEASE = -m64 -O3
|
|
|
|
QMAKE_CXXFLAGS_RELEASE = -m64 -O3
|
2020-03-31 14:18:42 +00:00
|
|
|
}
|
2019-06-02 16:53:04 +00:00
|
|
|
}
|
|
|
|
|
2020-03-31 14:18:42 +00:00
|
|
|
LIBS += -L$$OUT_PWD/../../../src/core -lenvecore
|
2019-07-20 18:08:42 +00:00
|
|
|
|
2019-08-28 16:30:12 +00:00
|
|
|
TARGET = eLinearize
|
2019-06-02 16:53:04 +00:00
|
|
|
TEMPLATE = lib
|
|
|
|
|
2019-08-28 16:30:12 +00:00
|
|
|
DEFINES += ELINEARIZE_LIBRARY
|
2019-06-02 16:53:04 +00:00
|
|
|
|
|
|
|
# The following define makes your compiler emit warnings if you use
|
|
|
|
# any feature of Qt which has been marked as deprecated (the exact warnings
|
|
|
|
# depend on your compiler). Please consult the documentation of the
|
|
|
|
# deprecated API in order to know how to port your code away from it.
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
|
|
|
|
# You can also make your code fail to compile if you use deprecated APIs.
|
|
|
|
# In order to do so, uncomment the following line.
|
|
|
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
|
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
|
|
|
|
SOURCES += \
|
2019-08-28 16:30:12 +00:00
|
|
|
elinearize.cpp
|
2019-06-02 16:53:04 +00:00
|
|
|
|
|
|
|
HEADERS += \
|
2019-08-28 16:30:12 +00:00
|
|
|
elinearize.h \
|
|
|
|
elinearize_global.h
|