Herunterladen als
root/samples/example/Example.pro @ 79bcb404
6899f814 | Christian Ehringfeld | QT += core
|
|
QT += sql
|
|||
QT -= gui
|
|||
b02f465a | SebastianDiel | #TARGET = EntityManager
|
|
6899f814 | Christian Ehringfeld | CONFIG += console
|
|
CONFIG -= app_bundle
|
|||
TEMPLATE = app
|
|||
HEADERS += \
|
|||
b7446f4c | Christian Ehringfeld | models/person.h \
|
|
models/group.h \
|
|||
models/pupil.h \
|
|||
models/address.h \
|
|||
models/contact.h \
|
|||
5c3d9487 | Christian Ehringfeld | models/faker/createfakemodeldata.h
|
|
6899f814 | Christian Ehringfeld | ||
SOURCES += \
|
|||
9d05e414 | Christian Ehringfeld | main.cpp \
|
|
b7446f4c | Christian Ehringfeld | models/person.cpp \
|
|
models/group.cpp \
|
|||
models/pupil.cpp \
|
|||
models/address.cpp \
|
|||
models/contact.cpp \
|
|||
1cee0f5b | Christian Ehringfeld | models/faker/createfakemodeldata.cpp
|
|
9d05e414 | Christian Ehringfeld | ||
f9cef58f | Christian Ehringfeld | 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
|
|||
b7446f4c | Christian Ehringfeld | unix:INCLUDEPATH += $$PWD/../../src
|
|
unix:DEPENDPATH += $$PWD/../../src
|
|||
992116ed | Christian Ehringfeld | CONFIG += c++14
|
|
100034b7 | Christian Ehringfeld | QMAKE_CXXFLAGS += -std=c++14
|
|
b02f465a | SebastianDiel | ||
6262bb8b | Christian Ehringfeld | 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
|
|||
b02f465a | SebastianDiel | ||
6262bb8b | Christian Ehringfeld | win32:INCLUDEPATH += $$PWD/../../../build-EntityManager-Desktop-Debug/debug
|
|
win32:DEPENDPATH += $$PWD/../../../build-EntityManager-Desktop-Debug/debug
|
|||
719a0ba1 | Christian Ehringfeld | ||
100034b7 | Christian Ehringfeld | INCLUDEPATH += $$PWD/../../src
|
|
DEPENDPATH += $$PWD/../../src
|
|||
a91984bb | Christian Ehringfeld | unix {
|
|
f9cef58f | Christian Ehringfeld | 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
|
|
a91984bb | Christian Ehringfeld | }
|
|
82442988 | Christian Ehringfeld | ||
win32-g++ {
|
|||
CONFIG += c++11
|
|||
QMAKE_CXXFLAGS += -std=c++11 -Wall
|
|||
}
|
|||
f9cef58f | Christian Ehringfeld | CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
|