Revision 2d09efd6
Von Sebastian Diel vor mehr als 9 Jahren hinzugefügt
EntityManager.pri | ||
---|---|---|
android {
|
||
EM_LIBRARY_TYPE = staticlib
|
||
} else {
|
||
EM_LIBRARY_TYPE = dll
|
||
EM_LIBRARY_TYPE = shared
|
||
}
|
||
}
|
||
|
EntityManager.pro | ||
---|---|---|
|
||
TARGET = CuteEntityManager
|
||
TEMPLATE = lib
|
||
CONFIG += $$EM_LIBRARY_TYPE
|
||
VERSION = $$EM_VERSION
|
||
|
||
HEADERS += \
|
||
src/entity.h \
|
||
... | ... | |
SOURCES += \
|
||
src/sqlitebackupprocessor.cpp
|
||
LIBS += -lsqlite3
|
||
} else {
|
||
DESTDIR = $$OUT_PWD
|
||
}
|
||
|
||
CONFIG += c++14
|
||
QMAKE_CXXFLAGS += -Wall -Wextra
|
||
headers.path = $$PREFIX/include/cuteEntityManager
|
||
headers.files = $$HEADERS
|
||
target.path = $$PREFIX/$$LIBDIR
|
||
INSTALLS += headers target
|
||
QMAKE_CXXFLAGS += -Wall -Wextra -Wunsafe-loop-optimizations -pedantic -Wfloat-equal -Wundef -Wpointer-arith -Wcast-align -Wunreachable-code
|
||
#headers.path = $$PREFIX/include/cuteEntityManager
|
||
#headers.files = $$HEADERS
|
||
#target.path = $$PREFIX/$$LIBDIR
|
||
#INSTALLS += target
|
||
|
||
unix {
|
||
QMAKE_CXXFLAGS += -Wunsafe-loop-optimizations -pedantic -Wfloat-equal -Wundef -Wpointer-arith -Wcast-align -Wunreachable-code
|
Auch abrufbar als: Unified diff
Änderungen für Windows