################################################################# # # QMAKE Project File for Quantum GIS # # Tim Sutton 2006 # # NOTE: Do not place any hard coded external paths in this file # all libs and includes should be specified in settings.pro # in the top level qgis directory. # ################################################################# # # This file builds the scale_bar plugin # include(../../../settings.pro) TARGET=scalebarplugin TEMPLATE = lib #suffix debug to target if applicable CONFIG(debug, debug|release){ TARGET = $$member(TARGET, 0)-debug } # This is a hack (thanks freddy!) because many plugins use the # same class names and file names we need to force the compiler # to create separate object files for them. MYDIRNAME=scale_bar MOC_DIR = $${OBJDIR}/moc/plugins/$${MYDIRNAME} UI_DIR = $${OBJDIR}/ui/plugins/$${MYDIRNAME} win32:OBJECTS_DIR = $${OBJDIR}/o/win32/plugins/$${MYDIRNAME} INCLUDEPATH += $${OBJDIR}/ui LIBS += $${QGISCORELIBADD} LIBS += $${QGISGUILIBADD} DESTDIR=$${QGISPLUGINDIR} QT += qt3support svg core gui xml network message("Building libs into $${DESTDIR}") RESOURCES += scalebar_plugin.qrc HEADERS += plugin.h \ plugingui.h \ pluginguibase.ui.h INTERFACES += pluginguibase.ui SOURCES += plugin.cpp \ plugingui.cpp