<commit_before>#------------------------------------
# Global Vars
#------------------------------------


#------------------------------------
# Dependencies
#------------------------------------
# Boost
set(BOOST_ALL_DYN_LINK ON)
set(Boost_USE_STATIC_LIBS OFF)
set(Boost_USE_MULTITHREADED ON)
set(Boost_USE_STATIC_RUNTIME OFF)    
find_package(Boost 1.55 COMPONENTS  serialization thread date_time filesystem system program_options log log_setup REQUIRED )
link_directories (${Boost_LIBRARY_DIRS})
include_directories (${Boost_INCLUDE_DIRS})
ADD_DEFINITIONS(-DBOOST_LOG_DYN_LINK)

# Threads
find_package(Threads)

if(WIN32)
    find_library(PSAPI_LIBRARIES psapi)
endif()

#------------------------------------
# Project Setup
#------------------------------------
#### Project Files

include_directories(${CMAKE_CURRENT_LIST_DIR} )

file(GLOB_RECURSE SOURCES "*.cpp")


#### Project Build Targets
add_executable(serial-tester  ${SOURCES} )


#### Linking
target_link_libraries(serial-tester ${Boost_LIBRARIES} ${PSAPI_LIBRARIES} pthread)


	
if(WIN32)
  target_link_libraries(main wsock32 ws2_32)
endif()

#------------------------------------
# Installation
#------------------------------------

<commit_msg>FEATURE: adding install to CMakeLIsts<commit_after>#------------------------------------
# Global Vars
#------------------------------------


#------------------------------------
# Dependencies
#------------------------------------
# Boost
set(BOOST_ALL_DYN_LINK ON)
set(Boost_USE_STATIC_LIBS OFF)
set(Boost_USE_MULTITHREADED ON)
set(Boost_USE_STATIC_RUNTIME OFF)    
find_package(Boost 1.55 COMPONENTS  serialization thread date_time filesystem system program_options log log_setup REQUIRED )
link_directories (${Boost_LIBRARY_DIRS})
include_directories (${Boost_INCLUDE_DIRS})
ADD_DEFINITIONS(-DBOOST_LOG_DYN_LINK)

# Threads
find_package(Threads)

if(WIN32)
    find_library(PSAPI_LIBRARIES psapi)
endif()

#------------------------------------
# Project Setup
#------------------------------------
#### Project Files

include_directories(${CMAKE_CURRENT_LIST_DIR} )

file(GLOB_RECURSE SOURCES "*.cpp")


#### Project Build Targets
add_executable(serial-tester  ${SOURCES} )


#### Linking
target_link_libraries(serial-tester ${Boost_LIBRARIES} ${PSAPI_LIBRARIES} pthread)


	
if(WIN32)
  target_link_libraries(main wsock32 ws2_32)
endif()

#------------------------------------
# Installation
#------------------------------------


INSTALL(TARGETS serial-tester 
    RUNTIME DESTINATION bin
    LIBRARY DESTINATION lib
    ARCHIVE DESTINATION lib
)

{'fraction_non_alphanumeric': 0.2980544747081712, 'fraction_numerical': 0.00933852140077821, 'mean_word_length': 2.08273381294964, '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': '4581839', 'n_tokens_mistral': 838, 'n_tokens_neox': 759, 'n_words': 135}