Herunterladen als
root/EntityManager.pri @ 64dc4a24
841fabe2 | Christian Ehringfeld | EM_VERSION=0.1
|
|
54538efb | Christian Ehringfeld | isEmpty(EM_LIBRARY_TYPE) {
|
|
android {
|
|||
EM_LIBRARY_TYPE = staticlib
|
|||
} else {
|
|||
2d09efd6 | Sebastian | EM_LIBRARY_TYPE = shared
|
|
54538efb | Christian Ehringfeld | }
|
|
}
|
|||
9eb4a5c2 | Christian Ehringfeld | MAKESPEC = $$replace($$QMAKESPEC,/," ")
|
|
0e75e425 | Christian Ehringfeld | MAKESPEC = $$replace($$QMAKESPEC,"\\"," ")
|
|
9eb4a5c2 | Christian Ehringfeld | for(var,$$list($$MAKESPEC)) {
|
|
MAKESPEC = $$var
|
|||
}
|
|||
EM_INCLUDE_PATH = $$PWD/src
|
|||
0e75e425 | Christian Ehringfeld | EM_BUILD_PATH = $$PWD/build/
|
|
9eb4a5c2 | Christian Ehringfeld | EM_DEBUG_PATH = $$PWD/build/$$MAKESPEC/$$QT_ARCH/debug
|
|
EM_RELEASE_PATH = $$PWD/build/$$MAKESPEC/$$QT_ARCH/release
|
|||
54538efb | Christian Ehringfeld | EM_LIB = -lCuteEntityManager
|
|
9eb4a5c2 | Christian Ehringfeld | ||
54538efb | Christian Ehringfeld | contains(EM_LIBRARY_TYPE,staticlib) {
|
|
DEFINES += CUTE_ENTITY_MANAGER_LIBRARY_STATIC
|
|||
} else {
|
|||
75a3c96c | SebastianDiel | win32 {
|
|
EM_LIB = -lCuteEntityManager0
|
|||
}
|
|||
54538efb | Christian Ehringfeld | DEFINES += CUTE_ENTITY_MANAGER_LIBRARY_SHARED
|
|
}
|
|||
# Installation prefix and library directory
|
|||
isEmpty(PREFIX) {
|
|||
contains(MEEGO_EDITION,harmattan) {
|
|||
PREFIX = /usr
|
|||
} else:unix {
|
|||
PREFIX = /usr/local
|
|||
} else {
|
|||
PREFIX = $$[QT_INSTALL_PREFIX]
|
|||
}
|
|||
}
|
|||
isEmpty(LIBDIR) {
|
|||
LIBDIR=lib
|
|||
}
|