<commit_before>cmake_minimum_required (VERSION 2.6)
project (AdventOfCode)

set(CMAKE_CXX_FLAGS "--std=c++14")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/contrib/cmake")

add_executable(day01a day01a.cpp)
add_executable(day01b day01b.cpp)
add_executable(day02a day02a.cpp)
add_executable(day02b day02b.cpp)
add_executable(day04a day04a.cpp)
add_executable(day04b day04b.cpp)
add_executable(day05a day05a.cpp)
add_executable(day05b day05b.cpp)
add_executable(day06a day06a.cpp)
add_executable(day06b day06b.cpp)

set(Boost_USE_STATIC_LIBS ON)
find_package(Boost)
if(Boost_FOUND)
	include_directories(${Boost_INCLUDE_DIRS})

	add_executable(day03a day03a.cpp)
	add_executable(day03b day03b.cpp)

	target_link_libraries(day03a ${Boost_LIBRARIES})
	target_link_libraries(day03b ${Boost_LIBRARIES})
endif()

#find_package(OpenSSL)
#if(OPENSSL_FOUND)
#	include_directories(${OPENSSL_INCLUDE_DIRS})
#
#	add_executable(day05a day05a.cpp)
#
#	link_libraries(crypto)
#	target_link_libraries(day05a ${OPENSSL_LIBRARIES})
#endif()
<commit_msg>Enable optimizations on all builds<commit_after>cmake_minimum_required (VERSION 2.6)
project (AdventOfCode)

set(CMAKE_CXX_FLAGS "--std=c++14 -O3")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/contrib/cmake")

add_executable(day01a day01a.cpp)
add_executable(day01b day01b.cpp)
add_executable(day02a day02a.cpp)
add_executable(day02b day02b.cpp)
add_executable(day04a day04a.cpp)
add_executable(day04b day04b.cpp)
add_executable(day05a day05a.cpp)
add_executable(day05b day05b.cpp)
add_executable(day06a day06a.cpp)
add_executable(day06b day06b.cpp)

set(Boost_USE_STATIC_LIBS ON)
find_package(Boost)
if(Boost_FOUND)
	include_directories(${Boost_INCLUDE_DIRS})

	add_executable(day03a day03a.cpp)
	add_executable(day03b day03b.cpp)

	target_link_libraries(day03a ${Boost_LIBRARIES})
	target_link_libraries(day03b ${Boost_LIBRARIES})
endif()

#find_package(OpenSSL)
#if(OPENSSL_FOUND)
#	include_directories(${OPENSSL_INCLUDE_DIRS})
#
#	add_executable(day05a day05a.cpp)
#
#	link_libraries(crypto)
#	target_link_libraries(day05a ${OPENSSL_LIBRARIES})
#endif()

{'fraction_non_alphanumeric': 0.11071587372165406, 'fraction_numerical': 0.05558025789239662, 'mean_word_length': 10.904761904761905, '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': '3710730', 'n_tokens_mistral': 1041, 'n_tokens_neox': 942, 'n_words': 115}