<commit_before>
# "template_lst" will be a list of all templates.
# Each template is a directory here.
file( GLOB template_lst RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * )
#message( template_lst:${template_lst} )

# don't include CMakeLists.txt or CMakeLists.txt~ which could be in the GLOB list
string( REGEX REPLACE "CMakeLists.txt~*;?" "" template_lst "${template_lst}" )
#message( template_lst:${template_lst} )

<commit_msg>better file globbing when doing an "in tree build"<commit_after>
# "template_lst" will be a list of all templates.
# Each template is a directory here.
file( GLOB template_lst RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * )
#message( template_lst:${template_lst} )

# don't include CMakeLists.txt or CMakeLists.txt~ which could be in the GLOB list
string( REGEX REPLACE "CMakeLists.txt~*;?" "" template_lst "${template_lst}" )

# guard against an in tree "build"
string( REGEX REPLACE "CMakeFiles/[^;]+;?" "" template_lst "${template_lst}" )

#message( template_lst:${template_lst} )

{'fraction_non_alphanumeric': 0.12375249500998003, 'fraction_numerical': 0.0, 'mean_word_length': 6.063380281690141, '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': '6577669', 'n_tokens_mistral': 341, 'n_tokens_neox': 330, 'n_words': 104}