<commit_before>CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0)

PROJECT(rdo_type_test)

MESSAGE(STATUS "CREATE TEST FOR RDO  TYPE")

INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
INCLUDE_DIRECTORIES(${RDO_BASE_DIRECTORY})

SET(SOURCE_FILES
	main.cpp)

SOURCE_GROUP(".test" FILES 
	${SOURCE_FILES})

FIND_PACKAGE(Boost COMPONENTS unit_test_framework REQUIRED)
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})

ADD_EXECUTABLE(test_rdo_type ${SOURCE_FILES})
ADD_TEST(NAME test_rdo_type COMMAND ${EXECUTABLE_OUTPUT_PATH}/test_rdo_type)
ADD_DEPENDENCIES(test_rdo_type rdo_nix_parser)

IF(MSVC)
	SET_TARGET_PROPERTIES(test_rdo_type PROPERTIES COMPILE_FLAGS "/EHa")
ENDIF()

TARGET_LINK_LIBRARIES(test_rdo_type rdo_nix_parser)
TARGET_LINK_LIBRARIES(test_rdo_type ${Boost_LIBRARIES})<commit_msg> - updated cmake for test rdo_type for parser library : updated comment<commit_after>MESSAGE(STATUS "CREATE  TEST  FOR  RDO  TYPE")

INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
INCLUDE_DIRECTORIES(${RDO_BASE_DIRECTORY})

SET(SOURCE_FILES
	main.cpp)

SOURCE_GROUP(".test" FILES 
	${SOURCE_FILES})

FIND_PACKAGE(Boost COMPONENTS unit_test_framework REQUIRED)
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})

ADD_EXECUTABLE(test_rdo_type ${SOURCE_FILES})
ADD_TEST(NAME test_rdo_type COMMAND ${EXECUTABLE_OUTPUT_PATH}/test_rdo_type)
ADD_DEPENDENCIES(test_rdo_type rdo_nix_parser)

IF(MSVC)
	SET_TARGET_PROPERTIES(test_rdo_type PROPERTIES COMPILE_FLAGS "/EHa")
ENDIF()

TARGET_LINK_LIBRARIES(test_rdo_type rdo_nix_parser)
TARGET_LINK_LIBRARIES(test_rdo_type ${Boost_LIBRARIES})
{'fraction_non_alphanumeric': 0.08796895213454076, 'fraction_numerical': 0.0019404915912031048, 'mean_word_length': 11.277777777777779, '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': '4336216', 'n_tokens_mistral': 650, 'n_tokens_neox': 604, 'n_words': 84}