<commit_before># Copyright (c) 2013, <NAME>
# All rights reserved.

cmake_minimum_required(VERSION 2.8.8)
project(download-boost)

set(CMAKE_BUILD_TYPE Debug)
set(CMAKE_VERBOSE_MAKEFILE YES)

# Let hunter be more verbose
set(HUNTER_STATUS_DEBUG ON CACHE BOOL "")

# emulate ${HUNTER_ROOT}/cmake/Hunter
include("../common.cmake")
include(hunter_add_package)

# download boost
hunter_add_package(Boost COMPONENTS filesystem system)

# now boost can be used
find_package(Boost 1.55 REQUIRED COMPONENTS filesystem system)
message("Boost includes: ${Boost_INCLUDE_DIRS}")
include_directories(${Boost_INCLUDE_DIRS})

### create targets
add_executable(mytest test.cpp)
target_link_libraries(mytest ${Boost_LIBRARIES})

enable_testing()<commit_msg>Link boost statically<commit_after># Copyright (c) 2013, <NAME>
# All rights reserved.

cmake_minimum_required(VERSION 2.8.8)
project(download-boost)

set(CMAKE_BUILD_TYPE Debug)
set(CMAKE_VERBOSE_MAKEFILE YES)

# Let hunter be more verbose
set(HUNTER_STATUS_DEBUG ON CACHE BOOL "")

# emulate ${HUNTER_ROOT}/cmake/Hunter
include("../common.cmake")
include(hunter_add_package)

# download boost
hunter_add_package(Boost COMPONENTS filesystem system)

# now boost can be used
set(Boost_USE_STATIC_LIBS YES)
find_package(Boost 1.55 REQUIRED COMPONENTS filesystem system)
message("Boost includes: ${Boost_INCLUDE_DIRS}")
include_directories(${Boost_INCLUDE_DIRS})

### create targets
add_executable(mytest test.cpp)
target_link_libraries(mytest ${Boost_LIBRARIES})

enable_testing()
{'fraction_non_alphanumeric': 0.10138248847926268, 'fraction_numerical': 0.013166556945358789, 'mean_word_length': 7.994082840236686, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5310944', 'n_tokens_mistral': 574, 'n_tokens_neox': 527, 'n_words': 115}