Lines Matching full:harfbuzz

2 project(harfbuzz)  project
35 ## HarfBuzz build configurations
49 option(HB_BUILD_UTILS "Build harfbuzz utils, needs cairo, freetype, and glib properly be installed"…
55 option(HB_BUILD_SUBSET "Build harfbuzz-subset" ON)
56 option(HB_BUILD_TESTS "Build harfbuzz tests" ON)
196 set (project_sources ${PROJECT_SOURCE_DIR}/src/harfbuzz.cc) # use amalgam source
464 ## Define harfbuzz library
465 add_library(harfbuzz ${project_sources} ${project_extra_sources} ${project_headers}) target
466 target_link_libraries(harfbuzz ${THIRD_PARTY_LIBS})
468 ## Define harfbuzz-subset library
470 add_library(harfbuzz-subset ${subset_project_sources} ${subset_project_headers})
471 add_dependencies(harfbuzz-subset harfbuzz)
472 target_link_libraries(harfbuzz-subset harfbuzz ${THIRD_PARTY_LIBS})
475 set_target_properties(harfbuzz harfbuzz-subset PROPERTIES VISIBILITY_INLINES_HIDDEN TRUE)
492 set_target_properties(harfbuzz PROPERTIES LINKER_LANGUAGE C)
494 set_target_properties(harfbuzz-subset PROPERTIES LINKER_LANGUAGE C)
510 ## Define harfbuzz-gobject library
512 add_library(harfbuzz-gobject
519 add_dependencies(harfbuzz-gobject harfbuzz)
520 target_link_libraries(harfbuzz-gobject harfbuzz ${GOBJECT_LIBRARIES} ${THIRD_PARTY_LIBS})
523 set_target_properties(harfbuzz-gobject PROPERTIES VISIBILITY_INLINES_HIDDEN TRUE)
564 set (hb_libpath "$<TARGET_FILE_DIR:harfbuzz-gobject>")
567 # Get the CFlags that we used to build HarfBuzz/HarfBuzz-GObject
573 # Get the other dependent libraries we used to build HarfBuzz/HarfBuzz-GObject
614 TARGET harfbuzz-gobject
619 --namespace=HarfBuzz
623 --pkg-export=harfbuzz
639 --library=harfbuzz-gobject
640 --library=harfbuzz
644 -o ${hb_libpath}/HarfBuzz-0.0.gir
645 DEPENDS harfbuzz-gobject harfbuzz ${CMAKE_CURRENT_BINARY_DIR}/src/hb_gir_list
649 TARGET harfbuzz-gobject
654 ${hb_libpath}/HarfBuzz-0.0.gir
655 -o ${hb_libpath}/HarfBuzz-0.0.typelib
656 DEPENDS ${hb_libpath}/HarfBuzz-0.0.gir harfbuzz-gobject
664 set_target_properties(harfbuzz PROPERTIES
669 set (MACOSX_FRAMEWORK_IDENTIFIER "harfbuzz")
675 ## Additional harfbuzz build artifacts
684 add_definitions("-DPACKAGE_NAME=\"HarfBuzz\"")
689 target_link_libraries(hb-view harfbuzz ${CAIRO_LIBRARIESNAMES})
692 target_link_libraries(hb-shape harfbuzz)
695 target_link_libraries(hb-subset harfbuzz harfbuzz-subset)
698 target_link_libraries(hb-ot-shape-closure harfbuzz)
708 install(FILES ${project_headers} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/harfbuzz)
710 …S ${hb_gobject_headers} ${hb_gobject_gen_headers} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/harfbuzz)
715 install(TARGETS harfbuzz
723 NAMESPACE harfbuzz::
724 DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/harfbuzz
728 install(TARGETS harfbuzz-subset
748 install(TARGETS harfbuzz-gobject
757 set (hb_libpath "$<TARGET_FILE_DIR:harfbuzz-gobject>")
760 install(FILES "${hb_libpath}/HarfBuzz-0.0.gir"
764 install(FILES "${hb_libpath}/HarfBuzz-0.0.typelib"
780 target_link_libraries(${prog_name} harfbuzz ${THIRD_PARTY_LIBS})
787 # generate harfbuzz.def after build completion
788 add_custom_command(TARGET harfbuzz POST_BUILD
789 …EXECUTABLE}" ${PROJECT_SOURCE_DIR}/src/gen-def.py ${PROJECT_BINARY_DIR}/harfbuzz.def ${project_hea…
794 WORKING_DIRECTORY ${PROJECT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/harfbuzz.dir/src # ugly hack