<commit_before>cmake_minimum_required( VERSION 2.8 )
project ( libgpkg )

if ( ${CMAKE_SYSTEM_NAME} MATCHES "Darwin" )
  set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mmacosx-version-min=10.5" )
endif()

find_package(Doxygen)
if(DOXYGEN_FOUND)
  configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
  add_custom_target(doc ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
                    WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
                    COMMENT "Generating API documentation with Doxygen" VERBATIM
  )
endif(DOXYGEN_FOUND)

add_subdirectory( common )
add_subdirectory( extension )
add_subdirectory( shell )
add_subdirectory( sqlite )

enable_testing()
add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND})
add_subdirectory( test )<commit_msg>Removed 'check' target. No longer useful with ruby based testing<commit_after>cmake_minimum_required( VERSION 2.8 )
project ( libgpkg )

if ( ${CMAKE_SYSTEM_NAME} MATCHES "Darwin" )
  set ( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mmacosx-version-min=10.5" )
endif()

find_package(Doxygen)
if(DOXYGEN_FOUND)
  configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
  add_custom_target(doc ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
                    WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
                    COMMENT "Generating API documentation with Doxygen" VERBATIM
  )
endif(DOXYGEN_FOUND)

add_subdirectory( common )
add_subdirectory( extension )
add_subdirectory( shell )
add_subdirectory( sqlite )

enable_testing()
add_subdirectory( test )
{'fraction_non_alphanumeric': 0.0948860135551448, 'fraction_numerical': 0.0061614294516327784, 'mean_word_length': 5.6016260162601625, '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': '54053', 'n_tokens_mistral': 610, 'n_tokens_neox': 570, 'n_words': 98}