CONFIG += ordered
win32:CONFIG += embed_manifest_exe
+CONFIG -= debug release debug_and_release
+CONFIG += qt thread dll shared
+
+CONFIG_MODE= $$(CONFIG_MODE)
+contains( CONFIG_MODE, debug ) {
+ CONFIG += debug
+} else {
+ CONFIG += release
+}
SUBDIRS = src/Qtx \
src/Style \
TEMPLATE = lib\r
TARGET = Event\r
+\r
+include(../Common.pro)\r
+\r
DESTDIR = ../../$(CONFIG_ID)/lib\r
MOC_DIR = ../../moc\r
OBJECTS_DIR = ../../$(CONFIG_ID)/obj/$$TARGET\r
INCLUDEPATH += ../../include\r
LIBS += \r
\r
-CONFIG -= debug release debug_and_release\r
-CONFIG += qt thread debug dll shared\r
-\r
win32:DEFINES += WIN32 \r
DEFINES += EVENT_EXPORTS\r
\r
unix:TEMPLATE = lib
win32:TEMPLATE = vclib
+include(../Common.pro)
+
DESTDIR = ../../$(CONFIG_ID)/lib
MOC_DIR = ../../moc
OBJECTS_DIR = ../../$(CONFIG_ID)/obj/$$TARGET
win32:LIBS *= -L$(QTLIB)
win32:INCLUDEPATH *= $(QTINC) $(QTINC)\QtCore $(QTINC)\QtGui $(QTINC)\QtXml
-CONFIG -= debug release debug_and_release
-CONFIG += qt thread debug dll shared
-
win32:copy_hdr.name = Install ${QMAKE_FILE_IN}
win32:copy_hdr.commands = type ${QMAKE_FILE_IN} > ../../include/${QMAKE_FILE_BASE}.hxx
win32:copy_hdr.output = ../../include/${QMAKE_FILE_BASE}.hxx
unix:TEMPLATE = lib
win32:TEMPLATE = vclib
+include(../Common.pro)
+
win32:QMAKE_MOC=$(QTDIR)\bin\moc.exe
DESTDIR = ../../$(CONFIG_ID)/lib
win32:LIBS *= -L$(QTLIB)
win32:INCLUDEPATH *= $(QTINC) $(QTINC)\QtCore $(QTINC)\QtGui $(QTINC)\QtXml
-CONFIG -= debug release debug_and_release
-CONFIG += qt thread debug dll shared
-
win32:DEFINES += WNT WIN32
DEFINES += LOGWINDOW_EXPORTS