<commit_before>find_path(ARGS_HXX args.hxx)

add_executable(dmplay "src/dmplay.cpp")

target_link_libraries(dmplay PRIVATE dmusic::dmusic)
target_compile_features(dmplay PUBLIC cxx_std_14)

target_include_directories(dmplay PRIVATE ../../include ../common ${ARGS_HXX})

if(NOT DISABLE_INSTALL_TOOLS)
  install(
    TARGETS dmplay
    RUNTIME DESTINATION ${UTILS_DESTINATION}
  )
endif()<commit_msg>Link support libraries for Linux and BSDs<commit_after>find_path(ARGS_HXX args.hxx)

add_executable(dmplay "src/dmplay.cpp")

target_link_libraries(dmplay PRIVATE dmusic::dmusic)

if(UNIX AND NOT APPLE)
  find_package(Threads REQUIRED)
  target_link_libraries(dmplay PRIVATE Threads::Threads ${CMAKE_DL_LIBS})
endif()

target_compile_features(dmplay PUBLIC cxx_std_14)

target_include_directories(dmplay PRIVATE ../../include ../common ${ARGS_HXX})

if(NOT DISABLE_INSTALL_TOOLS)
  install(
    TARGETS dmplay
    RUNTIME DESTINATION ${UTILS_DESTINATION}
  )
endif()
{'fraction_non_alphanumeric': 0.09854771784232365, 'fraction_numerical': 0.004149377593360996, 'mean_word_length': 6.5390625, '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': '3368046', 'n_tokens_mistral': 382, 'n_tokens_neox': 349, 'n_words': 64}