<commit_before>cmake_minimum_required(VERSION 2.6)

project (cem)

set (CEM_VERSION 0.1)

set (BUILD_SHARED_LIBS ON)

include_directories( ${CMAKE_CURRENT_SOURCE_DIR} )

set (bmicem_sources bmi.c)

add_library (bmicem ${bmicem_sources} )

install(TARGETS bmicem DESTINATION lib COMPONENT cem)

########### Install files ###############

install(FILES bmi.h bmi_const.h
        DESTINATION include/cem
        COMPONENT cem)<commit_msg>Added target to build a test CEM executable.<commit_after>cmake_minimum_required(VERSION 2.6)

project (cem)

set (CEM_VERSION 0.1)

########### CEM BMI library ###############

set (BUILD_SHARED_LIBS ON)

include_directories( ${CMAKE_CURRENT_SOURCE_DIR} )

set (bmicem_sources bmi.c)

add_library (bmicem ${bmicem_sources} )

install(TARGETS bmicem DESTINATION lib COMPONENT cem)

########### CEM main ###############

set (cem_sources bmi_main.c)
add_executable (cem ${cem_sources})
target_link_libraries(cem bmicem)

########### Install files ###############

install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/cem DESTINATION bin COMPONENT cem)
install(FILES bmi.h bmi_const.h
        DESTINATION include/cem
        COMPONENT cem)
{'fraction_non_alphanumeric': 0.16065292096219932, 'fraction_numerical': 0.006872852233676976, 'mean_word_length': 5.812865497076023, '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': '6666930', 'n_tokens_mistral': 445, 'n_tokens_neox': 433, 'n_words': 91}