#Header files which form the public interface to the library. #They will be installed by "make install". set (PUBLIC_HEADER_FILES hb.h hb-blob.h hb-buffer.h hb-common.h hb-deprecated.h hb-face.h hb-font.h hb-set.h hb-shape.h hb-shape-plan.h hb-unicode.h hb-version.h ) #Private header files. They will not be installed. set (HEADER_FILES ${PUBLIC_HEADER_FILES} hb-atomic-private.hh hb-buffer-private.hh hb-buffer-deserialize-json.hh hb-buffer-deserialize-text.hh hb-cache-private.hh hb-face-private.hh hb-font-private.hh hb-mutex-private.hh hb-object-private.hh hb-open-file-private.hh hb-open-type-private.hh hb-ot-cmap-table.hh hb-ot-head-table.hh hb-ot-hhea-table.hh hb-ot-hmtx-table.hh hb-ot-maxp-table.hh hb-ot-name-table.hh hb-private.hh hb-set-private.hh hb-shape-plan-private.hh hb-shaper-impl-private.hh hb-shaper-list.hh hb-shaper-private.hh hb-unicode-private.hh hb-utf-private.hh ) set (SOURCE_FILES hb-blob.cc hb-buffer.cc hb-buffer-serialize.cc hb-common.cc hb-face.cc hb-font.cc hb-ot-tag.cc hb-set.cc hb-shape.cc hb-shape-plan.cc hb-shaper.cc hb-unicode.cc hb-warning.cc ) add_library (harfbuzz ${SOURCE_FILES} ${HEADER_FILES} ) install (TARGETS harfbuzz ARCHIVE DESTINATION lib RUNTIME DESTINATION bin) install (FILES ${PUBLIC_HEADER_FILES} DESTINATION include/harfbuzz)