Skip to content
Permalink
Browse files
Include moc generated headers in CORE headers installation
Include gui headers (static and moc) in GUI headers installation


git-svn-id: http://svn.osgeo.org/qgis/trunk@6482 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Feb 1, 2007
1 parent 75362cb commit e11ed430f9e03b43bdb6ffebcf7bcd1bafd3b703
Showing with 28 additions and 2 deletions.
  1. +2 −2 src/core/CMakeLists.txt
  2. +26 −0 src/gui/CMakeLists.txt
@@ -220,5 +220,5 @@ symbology/qgssymbologyutils.h
spatialindex/qgsspatialindex.h
)

INSTALL(CODE "MESSAGE(\"Installing headers...\")")
INSTALL(FILES ${QGIS_CORE_HDRS} DESTINATION ${QGIS_INCLUDE_DIR})
INSTALL(CODE "MESSAGE(\"Installing CORE headers...\")")
INSTALL(FILES ${QGIS_CORE_HDRS} ${QGIS_CORE_MOC_HDRS} DESTINATION ${QGIS_INCLUDE_DIR})
@@ -65,3 +65,29 @@ TARGET_LINK_LIBRARIES(qgis_gui
INSTALL(TARGETS qgis_gui
RUNTIME DESTINATION ${QGIS_BIN_DIR}
LIBRARY DESTINATION lib)

# for installing headers

SET(QGIS_GUI_HDRS
qgisgui.h
qgisinterface.h
qgscolorbutton.h
qgscursors.h
qgsencodingfiledialog.h
qgslayerprojectionselector.h
qgsmapcanvas.h
qgsmapcanvasitem.h
qgsmapcanvasmap.h
qgsmapoverviewcanvas.h
qgsmaptool.h
qgsmaptoolpan.h
qgsmaptoolzoom.h
qgsmessageviewer.h
qgsprojectionselector.h
qgsrubberband.h
qgsvertexmarker.h
)


INSTALL(CODE "MESSAGE(\"Installing GUI headers...\")")
INSTALL(FILES ${QGIS_GUI_HDRS} ${QGIS_GUI_MOC_HDRS} DESTINATION ${QGIS_INCLUDE_DIR})

0 comments on commit e11ed43

Please sign in to comment.