<commit_before>SET (LIBHIF_SRCS
    hif-advisorypkg.c
    hif-advisoryref.c
    hif-advisory.c
    hy-goal.c
    hy-iutil.c
    hy-nevra.c
    hif-reldep.c
    hif-reldep-list.c
    hy-package.c
    hy-packageset.c
    hy-query.c
    hy-repo.c
    hif-sack.c
    hy-selector.c
    hy-subject.c
    hy-subject-private.c
    hy-util.c
    hif-context.c
    hif-db.c
    hif-goal.c
    hif-keyring.c
    hif-lock.c
    hif-package.c
    hif-packagedelta.c
    hif-repos.c
    hif-rpmts.c
    hif-repo.c
    hif-state.c
    hif-transaction.c
    hif-utils.c)

configure_file ("hif-version.h.in"  ${CMAKE_CURRENT_SOURCE_DIR}/hif-version.h)
configure_file ("libhif.pc.in" ${CMAKE_CURRENT_BINARY_DIR}/libhif.pc @ONLY)

ADD_LIBRARY(libhif SHARED ${LIBHIF_SRCS})
TARGET_LINK_LIBRARIES(libhif
                      ${REPO_LIBRARY}
                      ${GLIB_LIBRARIES}
                      ${GLIB_GOBJECT_LIBRARIES}
                      ${GLIB_GIO_LIBRARIES}
                      ${GLIB_GIO_UNIX_LIBRARIES}
                      ${CHECK_LIBRARY}
                      ${SOLV_LIBRARY}
                      ${SOLVEXT_LIBRARY}
                      ${EXPAT_LIBRARY}
                      ${ZLIB_LIBRARY}
                      ${RPMDB_LIBRARY})

SET(HIF_SO_VERSION 3)
SET_TARGET_PROPERTIES(libhif PROPERTIES OUTPUT_NAME "hif")
SET_TARGET_PROPERTIES(libhif PROPERTIES SOVERSION ${HIF_SO_VERSION})

ADD_EXECUTABLE(hth hy-hth.c)
TARGET_LINK_LIBRARIES(hth libhif
                      ${GLIB_LIBRARIES}
                      ${GLIB_GOBJECT_LIBRARIES}
                      ${GLIB_GIO_LIBRARIES}
                      ${GLIB_GIO_UNIX_LIBRARIES}
                      ${SOLV_LIBRARY}
                      ${SOLVEXT_LIBRARY}
                      ${REPO_LIBRARY}
                      ${EXPAT_LIBRARY}
                      ${ZLIB_LIBRARY}
                      ${RPMDB_LIBRARY})

SET(LIBHAWKEY_headers
    hy-goal.h
    hy-nevra.h
    hy-package.h
    hy-packageset.h
    hy-query.h
    hy-repo.h
    hy-selector.h
    hy-subject.h
    hy-types.h
    hy-util.h
    )

SET(LIBHIF_headers
    hif-advisory.h
    hif-advisorypkg.h
    hif-advisoryref.h
    hif-context.h
    hif-db.h
    hif-goal.h
    hif-keyring.h
    hif-lock.h
    hif-package.h
    hif-packagedelta.h
    hif-repos.h<commit_msg>build: Install hif-enums.h<commit_after>SET (LIBHIF_SRCS
    hif-advisorypkg.c
    hif-advisoryref.c
    hif-advisory.c
    hy-goal.c
    hy-iutil.c
    hy-nevra.c
    hif-reldep.c
    hif-reldep-list.c
    hy-package.c
    hy-packageset.c
    hy-query.c
    hy-repo.c
    hif-sack.c
    hy-selector.c
    hy-subject.c
    hy-subject-private.c
    hy-util.c
    hif-context.c
    hif-db.c
    hif-goal.c
    hif-keyring.c
    hif-lock.c
    hif-package.c
    hif-packagedelta.c
    hif-repos.c
    hif-rpmts.c
    hif-repo.c
    hif-state.c
    hif-transaction.c
    hif-utils.c)

configure_file ("hif-version.h.in"  ${CMAKE_CURRENT_SOURCE_DIR}/hif-version.h)
configure_file ("libhif.pc.in" ${CMAKE_CURRENT_BINARY_DIR}/libhif.pc @ONLY)

ADD_LIBRARY(libhif SHARED ${LIBHIF_SRCS})
TARGET_LINK_LIBRARIES(libhif
                      ${REPO_LIBRARY}
                      ${GLIB_LIBRARIES}
                      ${GLIB_GOBJECT_LIBRARIES}
                      ${GLIB_GIO_LIBRARIES}
                      ${GLIB_GIO_UNIX_LIBRARIES}
                      ${CHECK_LIBRARY}
                      ${SOLV_LIBRARY}
                      ${SOLVEXT_LIBRARY}
                      ${EXPAT_LIBRARY}
                      ${ZLIB_LIBRARY}
                      ${RPMDB_LIBRARY})

SET(HIF_SO_VERSION 3)
SET_TARGET_PROPERTIES(libhif PROPERTIES OUTPUT_NAME "hif")
SET_TARGET_PROPERTIES(libhif PROPERTIES SOVERSION ${HIF_SO_VERSION})

ADD_EXECUTABLE(hth hy-hth.c)
TARGET_LINK_LIBRARIES(hth libhif
                      ${GLIB_LIBRARIES}
                      ${GLIB_GOBJECT_LIBRARIES}
                      ${GLIB_GIO_LIBRARIES}
                      ${GLIB_GIO_UNIX_LIBRARIES}
                      ${SOLV_LIBRARY}
                      ${SOLVEXT_LIBRARY}
                      ${REPO_LIBRARY}
                      ${EXPAT_LIBRARY}
                      ${ZLIB_LIBRARY}
                      ${RPMDB_LIBRARY})

SET(LIBHAWKEY_headers
    hy-goal.h
    hy-nevra.h
    hy-package.h
    hy-packageset.h
    hy-query.h
    hy-repo.h
    hy-selector.h
    hy-subject.h
    hy-types.h
    hy-util.h
    )

SET(LIBHIF_headers
    hif-advisory.h
    hif-advisorypkg.h
    hif-advisoryref.h
    hif-context.h
    hif-enums.h
    hif-db.h
    hif-goal.h
    hif-keyring.h
    hif-lock.h
    hif-package.h
    hif-packagedelta.h
    hif-repos.h
{'fraction_non_alphanumeric': 0.09854252773547965, 'fraction_numerical': 0.00043506634761801175, 'mean_word_length': 1.5544444444444445, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6679635', 'n_tokens_mistral': 1893, 'n_tokens_neox': 1760, 'n_words': 204}