<commit_before>cmake_minimum_required(VERSION 2.6)

project(bsmjson_privacy)

# need to set these prior to setting any targets.
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# set(CMAKE_CXX_FLAGS "-O3")
# set(CMAKE_C_FLAGS "-O3")

if (${APPLE})
    set(CMAKE_CXX_EXTENSIONS OFF)
    set(MACPORTS_DIR "/opt")
endif ()

# Build the library.
add_subdirectory("cv-lib")

# Incldue the cvlib headers.
include_directories(${CVLIB_INCLUDE})

# Include application and JSON parser headers.
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/include")
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/include/rapidjson")<commit_msg>added an explicit include path for /usr/local/include so librdkafka can be found.<commit_after>cmake_minimum_required(VERSION 2.6)

project(bsmjson_privacy)

# need to set these prior to setting any targets.
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# set(CMAKE_CXX_FLAGS "-O3")
# set(CMAKE_C_FLAGS "-O3")

if (${APPLE})
    set(CMAKE_CXX_EXTENSIONS OFF)
    set(MACPORTS_DIR "/opt")
endif ()

# Build the library.
add_subdirectory("cv-lib")

# Incldue the cvlib headers.
include_directories(${CVLIB_INCLUDE})

# Include application and JSON parser headers.
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/include")
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/include/rapidjson")
include_directories("/usr/local/include")
{'fraction_non_alphanumeric': 0.11327561327561328, 'fraction_numerical': 0.008658008658008658, 'mean_word_length': 7.063953488372093, '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': '5123850', 'n_tokens_mistral': 526, 'n_tokens_neox': 484, 'n_words': 99}