<commit_before>CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

project (ucnsim)

# Override the output location for all executables and libs
set(LIBRARY_OUTPUT_PATH "${CMAKE_BINARY_DIR}")
set(EXECUTABLE_OUTPUT_PATH "${CMAKE_BINARY_DIR}")

# Root and GSL do not come with CMake, use our local copies
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/CMake")

# Set Build type
set(CMAKE_BUILD_TYPE debug)

# Set Boost options
set(Boost_USE_STATIC_LIBS        ON)
set(Boost_USE_MULTITHREADED      ON)
set(Boost_USE_STATIC_RUNTIME    OFF)

# Find packages required by thi project
find_package(ROOT REQUIRED)
find_package(GSL REQUIRED)
find_package(Boost REQUIRED COMPONENTS program_options)

# Store the path to the include directory
set(UCNLIB_INCLUDE_DIR "${CMAKE_CURRENT_LIST_DIR}/include")

# Set the compiler inclusion directories
set(INCLUDE_DIRECTORIES ${UCNLIB_INCLUDE_DIR}
                        "${CMAKE_CURRENT_LIST_DIR}/include/classes"
                        ${ROOT_INCLUDE_DIR}
                        ${GSL_INCLUDE_DIR}
                        ${Boost_INCLUDE_DIRS})
include_directories( ${INCLUDE_DIRECTORIES} )
link_directories( ${ROOT_LIBRARY_DIR} ${GSL_LINK_DIRECTORIES} ${Boost_LIBRARY_DIRS})

# Save the location of LinkDef.h;
set(UCNLIB_LINKDEF "${CMAKE_CURRENT_LIST_DIR}/include/LinkDef.h")

# Add the CMakeLists.txt from the src directory
add_subdirectory(src)<commit_msg>Help CMake to find the correct Boost version<commit_after>CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

project (ucnsim)

# Override the output location for all executables and libs
set(LIBRARY_OUTPUT_PATH "${CMAKE_BINARY_DIR}")
set(EXECUTABLE_OUTPUT_PATH "${CMAKE_BINARY_DIR}")

# Root and GSL do not come with CMake, use our local copies
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/CMake")

# Set Build type
set(CMAKE_BUILD_TYPE debug)

# Set Boost options
set(BOOST_ROOT "$ENV{BOOST}") # Give CMake a hand in finding my installation of Boost
set(Boost_USE_STATIC_LIBS        ON)
set(Boost_USE_MULTITHREADED      ON)
set(Boost_USE_STATIC_RUNTIME    OFF)

# Find packages required by thi project
find_package(ROOT REQUIRED)
find_package(GSL REQUIRED)
find_package(Boost 1.46 REQUIRED COMPONENTS program_options)

# Store the path to the include directory
set(UCNLIB_INCLUDE_DIR "${CMAKE_CURRENT_LIST_DIR}/include")

# Set the compiler inclusion directories
set(INCLUDE_DIRECTORIES ${UCNLIB_INCLUDE_DIR}
                        "${CMAKE_CURRENT_LIST_DIR}/include/classes"
                        ${ROOT_INCLUDE_DIR}
                        ${GSL_INCLUDE_DIR}
                        ${Boost_INCLUDE_DIRS})
include_directories( ${INCLUDE_DIRECTORIES} )
link_directories( ${ROOT_LIBRARY_DIR} ${GSL_LINK_DIRECTORIES} ${Boost_LIBRARY_DIRS})

# Save the location of LinkDef.h;
set(UCNLIB_LINKDEF "${CMAKE_CURRENT_LIST_DIR}/include/LinkDef.h")

# Add the CMakeLists.txt from the src directory
add_subdirectory(src)
{'fraction_non_alphanumeric': 0.08212058212058213, 'fraction_numerical': 0.0024255024255024253, 'mean_word_length': 4.739562624254473, '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': '1945470', 'n_tokens_mistral': 1025, 'n_tokens_neox': 940, 'n_words': 219}