<commit_before>############################################################################
# CMakeLists.txt file for building ROOT graf2d/asimage package
# @author <NAME>, CERN
############################################################################

if(cocoa)  # Not needed to locate PNG, JPG, TIFF libraries
  set(ASEXTRA_LIBRARIES)
endif()

#---Build ASImage/ASImageGui libraries---------------------------------------
include_directories(SYSTEM ${FREETYPE_INCLUDE_DIRS} ${AFTERIMAGE_INCLUDE_DIR} ${X11_INCLUDE_DIR})

ROOT_STANDARD_LIBRARY_PACKAGE(ASImage
                              NO_INSTALL_HEADERS
                              HEADERS TASImage.h TASImagePlugin.h TASPluginGS.h
                              SOURCES TASImage.cxx TASPluginGS.cxx
                              DICTIONARY_OPTIONS "-writeEmptyRootPCM"
                              LIBRARIES Core ${AFTERIMAGE_LIBRARIES} ${FREETYPE_LIBRARIES} ${ASEXTRA_LIBRARIES} ${X11_LIBRARIES} ZLIB::ZLIB
                              DEPENDENCIES Graf BUILTINS AFTERIMAGE)


ROOT_STANDARD_LIBRARY_PACKAGE(ASImageGui
                              NO_INSTALL_HEADERS
                              HEADERS TASPaletteEditor.h
                              SOURCES TASPaletteEditor.cxx
                              LINKDEF LinkDefGui.h
                              DICTIONARY_OPTIONS "-writeEmptyRootPCM"
                              DEPENDENCIES Gui ASImage
                              LIBRARIES ${AFTERIMAGE_LIBRARIES} ${FREETYPE_LIBRARIES} ${ASEXTRA_LIBRARIES} ${X11_LIBRARIES} ZLIB::ZLIB)
ROOT_INSTALL_HEADERS()<commit_msg>graf2d/asimage: do not use file globbing<commit_after>############################################################################
# CMakeLists.txt file for building ROOT graf2d/asimage package
# @author <NAME>, CERN
############################################################################

if(cocoa)  # Not needed to locate PNG, JPG, TIFF libraries
  set(ASEXTRA_LIBRARIES)
endif()

include_directories(SYSTEM ${FREETYPE_INCLUDE_DIRS} ${AFTERIMAGE_INCLUDE_DIR} ${X11_INCLUDE_DIR})

ROOT_STANDARD_LIBRARY_PACKAGE(ASImage
  NO_INSTALL_HEADERS
  HEADERS
    TASImage.h
    TASImagePlugin.h
    TASPluginGS.h
  SOURCES
    TASImage.cxx
    TASPluginGS.cxx
  DICTIONARY_OPTIONS
    -writeEmptyRootPCM
  LIBRARIES
    ${AFTERIMAGE_LIBRARIES}
    ${ASEXTRA_LIBRARIES}
    ${FREETYPE_LIBRARIES}
    ${X11_LIBRARIES}
    ZLIB::ZLIB
  DEPENDENCIES
    Core
    Graf
  BUILTINS
    AFTERIMAGE
)

ROOT_STANDARD_LIBRARY_PACKAGE(ASImageGui
  NO_INSTALL_HEADERS
  HEADERS
    TASPaletteEditor.h
  SOURCES
    src/TASPaletteEditor.cxx
  LINKDEF
    LinkDefGui.h
  DICTIONARY_OPTIONS
    -writeEmptyRootPCM
  LIBRARIES
    ${AFTERIMAGE_LIBRARIES}
    ${ASEXTRA_LIBRARIES}
    ${FREETYPE_LIBRARIES}
    ${X11_LIBRARIES}
    ZLIB::ZLIB
  DEPENDENCIES
    Gui
    ASImage
)

ROOT_INSTALL_HEADERS()
{'fraction_non_alphanumeric': 0.17565217391304347, 'fraction_numerical': 0.0052173913043478265, 'mean_word_length': 2.804232804232804, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4527492', 'n_tokens_mistral': 967, 'n_tokens_neox': 877, 'n_words': 143}