Revision 1994157c
Von Sebastian Diel vor fast 9 Jahren hinzugefügt
.gitignore | ||
---|---|---|
*.pro.user
|
||
*build
|
||
build-*
|
||
build*
|
EntityManager.pri | ||
---|---|---|
EM_LIBRARY_TYPE = shared
|
||
}
|
||
}
|
||
|
||
EM_PATH = $$OUT_PWD
|
||
EM_INCLUDEPATH = $$PWD/src
|
||
EM_LIB = -lCuteEntityManager
|
||
contains(EM_LIBRARY_TYPE,staticlib) {
|
||
... | ... | |
isEmpty(LIBDIR) {
|
||
LIBDIR=lib
|
||
}
|
||
CONFIG(debug, debug|release) {
|
||
DESTDIR = $$PWD/build/debug
|
||
} else {
|
||
DESTDIR = $$PWD/build/release
|
||
}
|
samples/samples.pri | ||
---|---|---|
INCLUDEPATH += $$PWD/../src
|
||
DEPENDPATH += $$PWD/../src
|
||
|
||
unix:!macx:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../../src $$EM_LIB
|
||
else:unix:!macx:CONFIG(release, release|debug): LIBS += -L$$OUT_PWD/../../src $$EM_LIB
|
||
|
||
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../../src/release $$EM_LIB
|
||
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../../src/debug $$EM_LIB
|
||
|
||
#QMAKE_RPATHDIR += $$OUT_PWD/../../../src/db $$OUT_PWD/../../../src/http
|
||
#CONFIG(release, release|debug): LIBS += -L../../src/release
|
||
#CONFIG(debug, release|debug): LIBS += -L../../src/debug
|
||
CONFIG(release, debug|release): LIBS+= -L$$PWD/../build/release $$EM_LIB
|
||
CONFIG(debug, debug|release): LIBS+= -L$$PWD/../build/debug $$EM_LIB
|
||
|
||
CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
|
||
|
src/src.pro | ||
---|---|---|
} else {
|
||
LIBS += -lsqlite3
|
||
}
|
||
|
||
|
||
CONFIG += c++14
|
||
QMAKE_CXXFLAGS += -Wall -Wextra -pedantic -Wfloat-equal -Wundef -Wpointer-arith -Wcast-align -Wunreachable-code
|
||
headers.path = $$PREFIX/include/cuteEntityManager
|
tests/tests.pri | ||
---|---|---|
INCLUDEPATH += $$PWD/../src
|
||
DEPENDPATH += $$PWD/../src
|
||
|
||
unix:!macx:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../../src $$EM_LIB
|
||
else:unix:!macx:CONFIG(release, release|debug): LIBS += -L$$OUT_PWD/../../src $$EM_LIB
|
||
|
||
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../../src/release $$EM_LIB
|
||
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../../src/debug $$EM_LIB
|
||
|
||
CONFIG(release, debug|release): LIBS+= -L$$PWD/../build/release $$EM_LIB
|
||
CONFIG(debug, debug|release): LIBS+= -L$$PWD/../build/debug $$EM_LIB
|
Auch abrufbar als: Unified diff
wuhu