Projekt

Allgemein

Profil

Herunterladen als
Herunterladen (1,59 KB) Statistiken
| Zweig: | Revision:
QT += core
QT += sql
QT -= gui

#TARGET = EntityManager
CONFIG += console
CONFIG -= app_bundle

TEMPLATE = app

HEADERS += \
models/person.h \
models/group.h \
models/pupil.h \
models/address.h \
models/contact.h \
models/faker/createfakemodeldata.h

SOURCES += \
main.cpp \
models/person.cpp \
models/group.cpp \
models/pupil.cpp \
models/address.cpp \
models/contact.cpp \
models/faker/createfakemodeldata.cpp

unix:!macx:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../build-EntityManager-Desktop-Debug -lCuteEntityManager
else:unix:!macx:CONFIG(release, release|debug): LIBS += -L$$PWD/../../../build-EntityManager-Desktop-Release/ -lCuteEntityManager
unix:INCLUDEPATH += $$PWD/../../src
unix:DEPENDPATH += $$PWD/../../src
CONFIG += c++14
QMAKE_CXXFLAGS += -std=c++14

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../build-EntityManager-Desktop-Release/release/ -lCuteEntityManager
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../build-EntityManager-Desktop-Debug/debug/ -lCuteEntityManager

win32:INCLUDEPATH += $$PWD/../../build-EntityManager-Desktop-Debug/debug
win32:DEPENDPATH += $$PWD/../../build-EntityManager-Desktop-Debug/debug

INCLUDEPATH += $$PWD/../../src
DEPENDPATH += $$PWD/../../src

unix {
QMAKE_CXXFLAGS += -Wall -Wextra -Wmaybe-uninitialized -Wsuggest-final-types -Wsuggest-final-methods -Wsuggest-override -Wunsafe-loop-optimizations -pedantic -Wfloat-equal -Wundef -Wpointer-arith -Wcast-align -Wunreachable-code -O -Winit-self
}
CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
(1-1/2)