<commit_before>cmake_minimum_required(VERSION 2.8)

# Define the files that we need to compile
# Anything not in this list will not be compiled into the output library
# Do not add test executables here
set(SOURCES
   datanode.h
   datanode.c
   fx.h
   fx.c
   stopwatch.h
   stopwatch.c
)

# add directory name to sources
set(DIR_SRCS)
foreach(file ${SOURCES})
    set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
endforeach()
# append sources (with directory name) to list of all FASTLIB sources (used at parent scope)
set(FASTLIB_SRCS ${FASTLIB_SRCS} ${FX_SRCS} PARENT_SCOPE)

add_library(fx ${SOURCES})
# link dependencies of libfx
target_link_libraries(fx
   base
)
<commit_msg>Oops, misspelling.  Dangerous because it would compile fine but would not link fx into libfastlib.a.<commit_after>cmake_minimum_required(VERSION 2.8)

# Define the files that we need to compile
# Anything not in this list will not be compiled into the output library
# Do not add test executables here
set(SOURCES
   datanode.h
   datanode.c
   fx.h
   fx.c
   stopwatch.h
   stopwatch.c
)

# add directory name to sources
set(DIR_SRCS)
foreach(file ${SOURCES})
    set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
endforeach()
# append sources (with directory name) to list of all FASTLIB sources (used at parent scope)
set(FASTLIB_SRCS ${FASTLIB_SRCS} ${DIR_SRCS} PARENT_SCOPE)

add_library(fx ${SOURCES})
# link dependencies of libfx
target_link_libraries(fx
   base
)

{'fraction_non_alphanumeric': 0.08367071524966262, 'fraction_numerical': 0.002699055330634278, 'mean_word_length': 4.770428015564202, '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': '5895471', 'n_tokens_mistral': 530, 'n_tokens_neox': 503, 'n_words': 164}