<commit_before>cmake_minimum_required(VERSION 3.0)

string(REGEX REPLACE "(.*)/" "" THIS_FOLDER_NAME "${CMAKE_CURRENT_SOURCE_DIR}")
project(${THIS_FOLDER_NAME})


# Fetch the correct verion of max-sdk-core
message(STATUS "Updating Git Submodules")
execute_process(
	COMMAND				git submodule update --init --recursive
	WORKING_DIRECTORY	"${PROJECT_SOURCE_DIR}"
)


# Update version numbers based on the latest git tag to the repository
include(${CMAKE_CURRENT_SOURCE_DIR}/source/max-sdk-core/script/git-rev.cmake)


# Macro from http://stackoverflow.com/questions/7787823/cmake-how-to-get-the-name-of-all-subdirectories-of-a-directory
MACRO(SUBDIRLIST result curdir)<commit_msg>CMake: adding version number print to console<commit_after>cmake_minimum_required(VERSION 3.0)

string(REGEX REPLACE "(.*)/" "" THIS_FOLDER_NAME "${CMAKE_CURRENT_SOURCE_DIR}")
project(${THIS_FOLDER_NAME})


# Fetch the correct verion of max-sdk-core
message(STATUS "Updating Git Submodules")
execute_process(
	COMMAND				git submodule update --init --recursive
	WORKING_DIRECTORY	"${PROJECT_SOURCE_DIR}"
)


# Update version numbers based on the latest git tag to the repository
include(${CMAKE_CURRENT_SOURCE_DIR}/source/max-sdk-core/script/git-rev.cmake)
message("Building _____ #{GIT_TAG} _____")


# Macro from http://stackoverflow.com/questions/7787823/cmake-how-to-get-the-name-of-all-subdirectories-of-a-directory
MACRO(SUBDIRLIST result curdir)
{'fraction_non_alphanumeric': 0.11756473058082575, 'fraction_numerical': 0.012596221133659902, 'mean_word_length': 6.044334975369458, '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': '2678493', 'n_tokens_mistral': 513, 'n_tokens_neox': 482, 'n_words': 97}