<commit_before>cmake_minimum_required(VERSION 2.8)
project(VexCL CXX)

include_directories( ${CMAKE_SOURCE_DIR} )

#----------------------------------------------------------------------------
# Enable math constants in Win32
#----------------------------------------------------------------------------
if (WIN32)
    add_definitions(-D_USE_MATH_DEFINES)
endif (WIN32)

#----------------------------------------------------------------------------
# Find Boost
#----------------------------------------------------------------------------
if (WIN32)
    set(Boost_USE_STATIC_LIBS ON)
else (WIN32)
    add_definitions(-DBOOST_TEST_DYN_LINK)
endif (WIN32)

find_package(Boost COMPONENTS
    chrono<commit_msg>CMake option for showing generated kernels<commit_after>cmake_minimum_required(VERSION 2.8)
project(VexCL CXX)

include_directories( ${CMAKE_SOURCE_DIR} )

#----------------------------------------------------------------------------
# Show generated kernels in tests and examples
#----------------------------------------------------------------------------
option(VEXCL_SHOW_KERNELS "Show generated kernels in tests and examples")
if (VEXCL_SHOW_KERNELS)
    add_definitions(-DVEXCL_SHOW_KERNELS)
endif (VEXCL_SHOW_KERNELS)

#----------------------------------------------------------------------------
# Enable math constants in Win32
#----------------------------------------------------------------------------
if (WIN32)
    add_definitions(-D_USE_MATH_DEFINES)
endif (WIN32)

#----------------------------------------------------------------------------
# Find Boost
#----------------------------------------------------------------------------
if (WIN32)
    set(Boost_USE_STATIC_LIBS ON)
else (WIN32)
    add_definitions(-DBOOST_TEST_DYN_LINK)
endif (WIN32)

find_package(Boost COMPONENTS
    chrono
{'fraction_non_alphanumeric': 0.46806167400881055, 'fraction_numerical': 0.015418502202643172, 'mean_word_length': 0.9901423877327492, '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': '4688088', 'n_tokens_mistral': 452, 'n_tokens_neox': 416, 'n_words': 84}