Skip to content

Commit

Permalink
Build the georeferencer plugin in windows qmake build system
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6223 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Dec 9, 2006
1 parent 6887df0 commit 97cfed2
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
71 changes: 71 additions & 0 deletions src/plugins/georeferencer/georeferencer.pro
@@ -0,0 +1,71 @@
#################################################################
#
# 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 georeferencer plugin
#

include(../../../settings.pro)
TARGET=georeferencerplugin
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=georeferencer
MOC_DIR = $${OBJDIR}/moc/plugins/$${MYDIRNAME}
UI_DIR = $${OBJDIR}/ui/plugins/$${MYDIRNAME}
win32:OBJECTS_DIR = $${OBJDIR}/o/win32/plugins/$${MYDIRNAME}
INCLUDEPATH += .
INCLUDEPATH += $${OBJDIR}/ui
#INCLUDEPATH += $${GEOSINCLUDE}

LIBS += $${QGISCORELIBADD}
LIBS += $${QGISGUILIBADD}
LIBS += $${GSLLIBADD}
LIBS += $${GDALLIBADD}


DESTDIR=$${QGISPLUGINDIR}
QT += qt3support svg core gui xml network

message("Building libs into $${DESTDIR}")

REOURCES += georeferencer.qrc

FORMS += mapcoordsdialogbase.ui \
pluginguibase.ui \
qgsgeorefwarpoptionsdialogbase.ui \
qgspointdialogbase.ui


HEADERS += mapcoordsdialog.h \
plugin.h \
plugingui.h \
qgsgeorefdatapoint.h \
qgsgeorefwarpoptionsdialog.h \
qgsimagewarper.h \
qgsleastsquares.h \
qgspointdialog.h

SOURCES += mapcoordsdialog.cpp \
plugin.cpp \
plugingui.cpp \
qgsgeorefdatapoint.cpp \
qgsgeorefwarpoptionsdialog.cpp \
qgsimagewarper.cpp \
qgsleastsquares.cpp \
qgspointdialog.cpp
1 change: 1 addition & 0 deletions src/plugins/plugins.pro
Expand Up @@ -13,5 +13,6 @@ SUBDIRS = delimited_text \
north_arrow \
grass \
copyright_label \
georeferencer \
spit
# gps_importer \

0 comments on commit 97cfed2

Please sign in to comment.