2007-08-07 15:09:41 +00:00
|
|
|
######################################################################
|
|
|
|
# Mapnik viewer - Copyright (C) 2007 Artem Pavlenko
|
|
|
|
######################################################################
|
2012-05-23 19:37:31 +00:00
|
|
|
QMAKE_CXX = /opt/llvm/bin/clang++
|
2007-08-07 15:09:41 +00:00
|
|
|
TEMPLATE = app
|
|
|
|
|
2012-05-23 19:37:31 +00:00
|
|
|
INCLUDEPATH += /opt/mapnik/include/
|
|
|
|
INCLUDEPATH += /opt/boost_1_49_0/include/
|
|
|
|
INCLUDEPATH += /opt/mapnik_deps/include/
|
|
|
|
INCLUDEPATH += /opt/mapnik_deps/include/freetype2
|
|
|
|
|
|
|
|
### Cairo backend
|
|
|
|
INCLUDEPATH += /opt/mapnik_deps/include/cairo
|
|
|
|
INCLUDEPATH += /opt/mapnik_deps/include/cairomm-1.0
|
|
|
|
INCLUDEPATH += /opt/mapnik_deps/include/sigc++-2.0
|
|
|
|
INCLUDEPATH += /opt/mapnik_deps/lib/sigc++-2.0/include
|
|
|
|
###
|
|
|
|
|
|
|
|
INCLUDEPATH += /Users/artem/Projects/mapnik/deps/agg/include
|
2007-08-07 15:09:41 +00:00
|
|
|
INCLUDEPATH += .
|
|
|
|
|
2012-05-23 19:37:31 +00:00
|
|
|
QMAKE_CXXFLAGS +='-DDARWIN -Wno-missing-field-initializers -fno-inline -ansi'
|
|
|
|
QMAKE_CXXFLAGS +=' -DHAVE_CAIRO'
|
|
|
|
unix:LIBS = -L/opt/mapnik/lib -L/opt/mapnik_deps/lib -lmapnik -lfreetype -L/opt/mapnik/lib
|
|
|
|
unix:LIBS += -lboost_system -licuuc -lboost_filesystem -lboost_regex -L/opt/boost_1_49_0/lib
|
|
|
|
unix:LIBS += -lcairo -lcairomm-1.0
|
2007-08-07 15:09:41 +00:00
|
|
|
|
|
|
|
# Input
|
|
|
|
|
|
|
|
CONFIG += qt debug_and_release
|
2007-08-13 09:13:58 +00:00
|
|
|
FORMS += forms/about.ui \
|
|
|
|
forms/info.ui \
|
|
|
|
forms/layer_info.ui
|
2007-08-07 15:09:41 +00:00
|
|
|
|
|
|
|
HEADERS += mainwindow.hpp \
|
|
|
|
mapwidget.hpp \
|
|
|
|
layerwidget.hpp \
|
|
|
|
layerlistmodel.hpp \
|
|
|
|
layerdelegate.hpp \
|
2008-06-29 10:58:29 +00:00
|
|
|
styles_model.hpp
|
2007-08-07 15:09:41 +00:00
|
|
|
|
|
|
|
HEADERS += about_dialog.hpp \
|
2007-08-13 09:13:58 +00:00
|
|
|
info_dialog.hpp \
|
|
|
|
layer_info_dialog.hpp
|
2007-08-07 15:09:41 +00:00
|
|
|
|
|
|
|
SOURCES += main.cpp \
|
|
|
|
mainwindow.cpp \
|
|
|
|
mapwidget.cpp \
|
|
|
|
layerwidget.cpp \
|
|
|
|
layerlistmodel.cpp \
|
|
|
|
layerdelegate.cpp \
|
2008-06-29 10:58:29 +00:00
|
|
|
styles_model.cpp
|
2007-08-07 15:09:41 +00:00
|
|
|
|
|
|
|
SOURCES += about_dialog.cpp \
|
2007-08-13 09:13:58 +00:00
|
|
|
info_dialog.cpp \
|
|
|
|
layer_info_dialog.cpp
|
2007-08-07 15:09:41 +00:00
|
|
|
|
|
|
|
RESOURCES += mapnik_viewer.qrc
|