<commit_before>cmake_minimum_required(VERSION 2.7)

project(Aquarius-cxx)

#+++++++++++++++++++++++++++++#
#     set compiler option     #
#+++++++++++++++++++++++++++++#

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra")
option(USE_CXX14 "use C++14" OFF)

if (USE_CXX14)
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
else()
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
endif ()


include_directories(include)

add_subdirectory(example/json)
add_subdirectory(example/json2)

enable_testing()
add_subdirectory(test)

#+++++++++++++++++++++++++#
#     show enviroment     #<commit_msg>add -pedantic-errors to CMakeLists<commit_after>cmake_minimum_required(VERSION 2.7)

project(Aquarius-cxx)

#+++++++++++++++++++++++++++++#
#     set compiler option     #
#+++++++++++++++++++++++++++++#

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -pedantic-errors")
option(USE_CXX14 "use C++14" OFF)

if (USE_CXX14)
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
else()
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
endif ()


include_directories(include)

add_subdirectory(example/json)
add_subdirectory(example/json2)

enable_testing()
add_subdirectory(test)

#+++++++++++++++++++++++++#
#     show enviroment     #
{'fraction_non_alphanumeric': 0.2519809825673534, 'fraction_numerical': 0.020602218700475437, 'mean_word_length': 6.562874251497006, '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': '54013', 'n_tokens_mistral': 522, 'n_tokens_neox': 462, 'n_words': 66}