<commit_before>cmake_minimum_required(VERSION 2.8)

file(GLOB dotconf_sources "../contrib/dotconf/src/*.c")

file(GLOB sources "*.cpp")
file(GLOB headers "*.h")

add_executable(dazeus ${sources} ${headers} ${dotconf_sources})
add_definitions("-Wall -Wextra -Weffc++ -Wno-long-long -pedantic")
include_directories("../contrib/dotconf/src")
target_link_libraries(dazeus ${LIBS})

install (TARGETS dazeus DESTINATION bin)<commit_msg>Remove warnings that occur in third-party libraries<commit_after>cmake_minimum_required(VERSION 2.8)

file(GLOB dotconf_sources "../contrib/dotconf/src/*.c")

file(GLOB sources "*.cpp")
file(GLOB headers "*.h")

add_executable(dazeus ${sources} ${headers} ${dotconf_sources})
add_definitions("-Wall -Wextra -Weffc++ -Wno-long-long")
# dotconf has unused variables
add_definitions("-Wno-unused-parameter")
# dotconf has wrong pointer signedness
add_definitions("-Wno-pointer-sign")
# dotconf has missing field initializers in LAST_OPTION
add_definitions("-Wno-missing-field-initializers")
include_directories("../contrib/dotconf/src")
target_link_libraries(dazeus ${LIBS})

install (TARGETS dazeus DESTINATION bin)
{'fraction_non_alphanumeric': 0.14435695538057744, 'fraction_numerical': 0.003499562554680665, 'mean_word_length': 6.944444444444445, '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': '3348872', 'n_tokens_mistral': 390, 'n_tokens_neox': 387, 'n_words': 79}