Skip to content

Commit e11ed43

Browse files
author
timlinux
committedFeb 1, 2007
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
1 parent 75362cb commit e11ed43

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed
 

‎src/core/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,5 +220,5 @@ symbology/qgssymbologyutils.h
220220
spatialindex/qgsspatialindex.h
221221
)
222222

223-
INSTALL(CODE "MESSAGE(\"Installing headers...\")")
224-
INSTALL(FILES ${QGIS_CORE_HDRS} DESTINATION ${QGIS_INCLUDE_DIR})
223+
INSTALL(CODE "MESSAGE(\"Installing CORE headers...\")")
224+
INSTALL(FILES ${QGIS_CORE_HDRS} ${QGIS_CORE_MOC_HDRS} DESTINATION ${QGIS_INCLUDE_DIR})

‎src/gui/CMakeLists.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,29 @@ TARGET_LINK_LIBRARIES(qgis_gui
6565
INSTALL(TARGETS qgis_gui
6666
RUNTIME DESTINATION ${QGIS_BIN_DIR}
6767
LIBRARY DESTINATION lib)
68+
69+
# for installing headers
70+
71+
SET(QGIS_GUI_HDRS
72+
qgisgui.h
73+
qgisinterface.h
74+
qgscolorbutton.h
75+
qgscursors.h
76+
qgsencodingfiledialog.h
77+
qgslayerprojectionselector.h
78+
qgsmapcanvas.h
79+
qgsmapcanvasitem.h
80+
qgsmapcanvasmap.h
81+
qgsmapoverviewcanvas.h
82+
qgsmaptool.h
83+
qgsmaptoolpan.h
84+
qgsmaptoolzoom.h
85+
qgsmessageviewer.h
86+
qgsprojectionselector.h
87+
qgsrubberband.h
88+
qgsvertexmarker.h
89+
)
90+
91+
92+
INSTALL(CODE "MESSAGE(\"Installing GUI headers...\")")
93+
INSTALL(FILES ${QGIS_GUI_HDRS} ${QGIS_GUI_MOC_HDRS} DESTINATION ${QGIS_INCLUDE_DIR})

0 commit comments

Comments
 (0)
Please sign in to comment.