# Generated from harfbuzz-ng.pro.

#####################################################################
## BundledHarfbuzz Generic Library:
#####################################################################

qt_internal_add_3rdparty_library(BundledHarfbuzz
    QMAKE_LIB_NAME harfbuzz
    STATIC
    SOURCES
        hb-dummy.cc
        src/hb.h
        src/hb-aat-layout.cc
        src/hb-aat-map.cc
        src/hb-algs.hh
        src/hb-atomic.hh
        src/hb-blob.cc src/hb-blob.h
        src/hb-buffer.cc src/hb-buffer.h src/hb-buffer.hh
        src/hb-buffer-deserialize-json.hh
        src/hb-buffer-deserialize-text.hh
        src/hb-buffer-serialize.cc
        src/hb-cache.hh
        src/hb-common.h
        src/hb-debug.hh
        src/hb-deprecated.h
        src/hb-face.cc src/hb-face.h src/hb-face.hh
        src/hb-fallback-shape.cc
        src/hb-font.cc src/hb-font.h src/hb-font.hh
        src/hb-map.cc
        src/hb-mutex.hh
        src/hb-number.cc
        src/hb-object.hh
        src/hb-open-file.hh
        src/hb-open-type.hh
        src/hb-set.cc src/hb-set.h src/hb-set.hh
        src/hb-set-digest.hh
        src/hb-shape.cc src/hb-shape.h
        src/hb-shape-plan.cc src/hb-shape-plan.h src/hb-shape-plan.hh
        src/hb-shaper.cc src/hb-shaper.hh
        src/hb-shaper-impl.hh
        src/hb-shaper-list.hh
        src/hb-string-array.hh
        src/hb-subset.cc
        src/hb-subset-cff-common.cc
        src/hb-subset-cff1.cc
        src/hb-subset-cff2.cc
        src/hb-subset-input.cc
        src/hb-subset-plan.cc
        src/hb-unicode.cc src/hb-unicode.h src/hb-unicode.hh
        src/hb-utf.hh
        src/hb-version.h
    DEFINES
        HAVE_ATEXIT
        HAVE_CONFIG_H
        HB_EXTERN=
        HB_NDEBUG
        HB_NO_UNICODE_FUNCS
        QT_NO_VERSION_TAGGING
    INCLUDE_DIRECTORIES
        .core.includes
    PUBLIC_INCLUDE_DIRECTORIES
        $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/harfbuzz>
)
qt_disable_warnings(BundledHarfbuzz)
qt_set_symbol_visibility_hidden(BundledHarfbuzz)

#### Keys ignored in scope 1:.:.:harfbuzz-ng.pro:<TRUE>:
# MODULE_EXT_HEADERS = "src/hb-atomic.hh" "src/hb-algs.hh" "src/hb-buffer.hh" "src/hb-buffer-deserialize-json.hh" "src/hb-buffer-deserialize-text.hh" "src/hb-cache.hh" "src/hb-debug.hh" "src/hb-face.hh" "src/hb-font.hh" "src/hb-mutex.hh" "src/hb-object.hh" "src/hb-open-file.hh" "src/hb-open-type.hh" "src/hb-set-digest.hh" "src/hb-set.hh" "src/hb-shape-plan.hh" "src/hb-shaper-impl.hh" "src/hb-shaper-list.hh" "src/hb-shaper.hh" "src/hb-string-array.hh" "src/hb-unicode.hh" "src/hb-utf.hh" "src/hb.h" "src/hb-blob.h" "src/hb-buffer.h" "src/hb-common.h" "src/hb-deprecated.h" "src/hb-face.h" "src/hb-font.h" "src/hb-set.h" "src/hb-shape.h" "src/hb-shape-plan.h" "src/hb-unicode.h" "src/hb-version.h"
# OTHER_FILES = "$$PWD/src/harfbuzz.cc"
# SHAPERS = "opentype"

## Scopes:
#####################################################################

#### Keys ignored in scope 2:.:.:harfbuzz-ng.pro:APPLE:
# SHAPERS = "coretext"

qt_internal_extend_target(BundledHarfbuzz CONDITION UNIX
    DEFINES
        HAVE_PTHREAD
        HAVE_SCHED_H
        HAVE_SCHED_YIELD
)

qt_internal_extend_target(BundledHarfbuzz CONDITION WIN32
    DEFINES
        HB_NO_WIN1256
)

qt_internal_extend_target(BundledHarfbuzz CONDITION SHAPERS___contains___opentype
    SOURCES
        src/hb-ot.h
        src/hb-ot-cff1-table.cc
        src/hb-ot-cff2-table.cc
        src/hb-ot-cmap-table.hh
        src/hb-ot-color.cc
        src/hb-ot-color-cbdt-table.hh
        src/hb-ot-face.cc
        src/hb-ot-font.cc src/hb-ot-font.h
        src/hb-ot-glyf-table.hh
        src/hb-ot-head-table.hh
        src/hb-ot-hhea-table.hh
        src/hb-ot-hmtx-table.hh
        src/hb-ot-kern-table.hh
        src/hb-ot-layout.cc src/hb-ot-layout.h src/hb-ot-layout.hh
        src/hb-ot-layout-gdef-table.hh
        src/hb-ot-layout-gpos-table.hh
        src/hb-ot-layout-gsub-table.hh
        src/hb-ot-layout-jstf-table.hh
        src/hb-ot-map.cc src/hb-ot-map.hh
        src/hb-ot-math.cc src/hb-ot-math.h
        src/hb-ot-math-table.hh
        src/hb-ot-maxp-table.hh
        src/hb-ot-meta.cc
        src/hb-ot-metrics.cc
        src/hb-ot-name.cc
        src/hb-ot-name-table.hh
        src/hb-ot-os2-table.hh
        src/hb-ot-post-macroman.hh
        src/hb-ot-post-table.hh
        src/hb-ot-shape.cc src/hb-ot-shape.h src/hb-ot-shape.hh
        src/hb-ot-shape-complex-arabic.cc src/hb-ot-shape-complex-arabic.hh
        src/hb-ot-shape-complex-arabic-fallback.hh
        src/hb-ot-shape-complex-arabic-table.hh
        src/hb-ot-shape-complex-default.cc
        src/hb-ot-shape-complex-hangul.cc
        src/hb-ot-shape-complex-hebrew.cc
        src/hb-ot-shape-complex-indic.cc src/hb-ot-shape-complex-indic.hh
        src/hb-ot-shape-complex-indic-machine.hh
        src/hb-ot-shape-complex-indic-table.cc
        src/hb-ot-shape-complex-khmer.cc
        src/hb-ot-shape-complex-myanmar.cc
        src/hb-ot-shape-complex-myanmar-machine.hh
        src/hb-ot-shape-complex-thai.cc
        src/hb-ot-shape-complex-use.cc src/hb-ot-shape-complex-use.hh
        src/hb-ot-shape-complex-use-machine.hh
        src/hb-ot-shape-complex-use-table.cc
        src/hb-ot-shape-complex-vowel-constraints.cc
        src/hb-ot-shape-fallback.cc src/hb-ot-shape-fallback.hh
        src/hb-ot-shape-normalize.cc src/hb-ot-shape-normalize.hh
        src/hb-ot-tag.cc
        src/hb-ot-var.cc src/hb-ot-var.h
        src/hb-ot-var-avar-table.hh
        src/hb-ot-var-fvar-table.hh
        src/hb-ot-var-hvar-table.hh
        src/hb-ot-var-mvar-table.hh
    DEFINES
        HAVE_OT
)

qt_internal_extend_target(BundledHarfbuzz CONDITION SHAPERS_ISEMPTY OR SHAPERS___contains___fallback
    SOURCES
        src/hb-fallback-shape.cc
    DEFINES
        HAVE_FALLBACK
)
