<commit_before># LBD Inverse Problem (aka LBD reconstruction) CMakeLists.txt
cmake_minimum_required(VERSION 3.13)

project(LBDReconstruction)

# -----------------------------------------------
# USER DEFINED VARIABLES
# -----------------------------------------------
option (WITH_DISPATCH "Build with libdispatch (GCD) support for multithreading" OFF)
option (BUILD_DOC     "Build the documentation with Doxygen"                    OFF)

# -----------------------------------------------
# COMPILER FLAGS
# -----------------------------------------------

# Set the build type
if (NOT CMAKE_BUILD_TYPE)
   set (CMAKE_BUILD_TYPE Debug CACHE STRING
        "Choose the type of build. Optionas are: None, Debug, Release, RelWithDebInfo, MinSizeRel"
        FORCE)
endif ()

# Optimize speed in case of Release build
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
   set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3")
   set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3")
endif ()

# Set debug flags in Debug build
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
   add_definitions (-DDEBUG)
endif ()

if (WITH_DISPATCH)
   add_definitions (-DWITH_DISPATCH)<commit_msg>Enforce C++14 as the standard for the project<commit_after># LBD Inverse Problem (aka LBD reconstruction) CMakeLists.txt
cmake_minimum_required(VERSION 3.13)

project(LBDReconstruction LANGUAGES CXX)

# -----------------------------------------------
# Handle globally the C++ standard
# -----------------------------------------------
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# -----------------------------------------------
# USER DEFINED VARIABLES
# -----------------------------------------------
option (WITH_DISPATCH "Build with libdispatch (GCD) support for multithreading" OFF)
option (BUILD_DOC     "Build the documentation with Doxygen"                    OFF)

# -----------------------------------------------
# COMPILER FLAGS
# -----------------------------------------------

# Set the build type
if (NOT CMAKE_BUILD_TYPE)
   set (CMAKE_BUILD_TYPE Debug CACHE STRING
        "Choose the type of build. Optionas are: None, Debug, Release, RelWithDebInfo, MinSizeRel"
        FORCE)
endif ()

# Optimize speed in case of Release build
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
   set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3")
   set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3")
endif ()

# Set debug flags in Debug build
if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
   add_definitions (-DDEBUG)
endif ()

if (WITH_DISPATCH)
   add_definitions (-DWITH_DISPATCH)
{'fraction_non_alphanumeric': 0.260715690129768, 'fraction_numerical': 0.005505308690523005, 'mean_word_length': 1.975438596491228, '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': '2169790', 'n_tokens_mistral': 774, 'n_tokens_neox': 716, 'n_words': 211}