<commit_before>cmake_minimum_required (VERSION 2.8)

project (BTCodeTest)

if (${PROJECT_SOURCE_DIR} STREQUAL ${PROJECT_BINARY_DIR})
	message (FATAL_ERROR "In-tree builds are not supported; please run cmake in a separate build directory.")
endif ()

add_subdirectory ("${CMAKE_SOURCE_DIR}/lib")
add_subdirectory ("${CMAKE_SOURCE_DIR}/app")
add_subdirectory ("${CMAKE_SOURCE_DIR}/test")<commit_msg>Add C++ 11 compiler flag fro GNU G++.<commit_after>cmake_minimum_required (VERSION 2.8)

project (BTCodeTest)

if (${PROJECT_SOURCE_DIR} STREQUAL ${PROJECT_BINARY_DIR})
	message (FATAL_ERROR "In-tree builds are not supported; please run cmake in a separate build directory.")
endif ()

if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
    if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.7")
        set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
    else()
        set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
    endif()
endif()

add_subdirectory ("${CMAKE_SOURCE_DIR}/lib")
add_subdirectory ("${CMAKE_SOURCE_DIR}/app")
add_subdirectory ("${CMAKE_SOURCE_DIR}/test")
{'fraction_non_alphanumeric': 0.13071895424836602, 'fraction_numerical': 0.01027077497665733, 'mean_word_length': 6.549295774647887, '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': '2586747', 'n_tokens_mistral': 410, 'n_tokens_neox': 380, 'n_words': 87}