<commit_before>enable_testing()

#find_package(GTest REQUIRED)
include( ExternalGoogleTest )
include_directories(${GTEST_INCLUDE_DIRS})

find_package( Threads REQUIRED)

add_executable(runUnitTests main.cpp test_hello.cpp)

target_link_libraries(
  runUnitTests ${GTEST_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}
)

install(TARGETS runUnitTests RUNTIME DESTINATION ${BIN_DIR})<commit_msg>RunUnitsTest must depends on googletest<commit_after>enable_testing()

#find_package(GTest REQUIRED)
include( ExternalGoogleTest )

include_directories(${GTEST_INCLUDE_DIRS})

find_package( Threads REQUIRED)

add_executable(runUnitTests main.cpp test_hello.cpp)
add_dependencies(runUnitTests googletest)

target_link_libraries(
  runUnitTests ${GTEST_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}
)

install(TARGETS runUnitTests RUNTIME DESTINATION ${BIN_DIR})
{'fraction_non_alphanumeric': 0.08403361344537816, 'fraction_numerical': 0.0, 'mean_word_length': 10.914285714285715, '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': '6678419', 'n_tokens_mistral': 305, 'n_tokens_neox': 288, 'n_words': 47}