INCLUDE_DIRECTORIES(${TulipCoreBuildInclude} ${TulipCoreInclude} ${TulipOGLInclude} ${TulipGUIInclude} ${TulipUIGUIInclude} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${GLEW_INCLUDE_DIR}) QTX_SET_INCLUDES_AND_DEFINITIONS() QTXWEB_SET_INCLUDES_AND_DEFINITIONS() SET(LIB_SRCS GeographicView.cpp GeographicViewConfigWidget.cpp GeolocalisationConfigWidget.cpp GeographicViewInteractors.cpp AddressSelectionDialog.cpp LeafletMaps.cpp GeographicViewGraphicsView.cpp GeographicViewShowElementInfo.cpp NominatimGeocoder.cpp) QTX_WRAP_UI(LIB_UI_HEADERS GeolocalisationConfigWidget.ui GeographicViewConfigWidget.ui AddressSelectionDialog.ui) QTX_ADD_RESOURCES(LIB_RCC_SRCS GeographicViewResource.qrc) QTX_WRAP_CPP(LIB_MOC_SRCS GeographicView.h GeographicViewGraphicsView.h GeographicViewConfigWidget.h GeographicViewShowElementInfo.h GeolocalisationConfigWidget.h LeafletMaps.h) IF(WIN32) SET(GEOVIEW_DLL "GeographicView-${TulipVersion}.dll") IF(NOT MSVC) SET(GEOVIEW_DLL "lib${GEOVIEW_DLL}") ENDIF(NOT MSVC) # update the list of bundle libs SET_PROPERTY(GLOBAL APPEND PROPERTY FIXUP_BUNDLE_LIBS "${CMAKE_INSTALL_PREFIX}/lib/tulip/view/${GEOVIEW_DLL}") ENDIF(WIN32) ADD_LIBRARY(GeographicView-${TulipVersion} SHARED ${LIB_SRCS} ${LIB_UI_HEADERS} ${LIB_MOC_SRCS} ${LIB_RCC_SRCS}) TARGET_LINK_LIBRARIES(GeographicView-${TulipVersion} ${LibTulipCoreName} ${LibTulipOGLName} ${LibTulipGUIName} ${OPENGL_gl_LIBRARY} ${QT_LIBRARIES} ${QT_WEB_LIBRARIES}) TULIP_INSTALL_PLUGIN(GeographicView-${TulipVersion} ${TulipViewPluginsInstallDir})