<commit_before>
cmake_minimum_required (VERSION 2.6)

project (CTLRA C)

set(CTLRA_VERSION_MAJOR "0")
set(CTLRA_VERSION_MINOR "0")
set(CTLRA_VERSION_PATCH "1")

set(CTLRA_VERSION "${CTLRA_VERSION_MAJOR}.${CTLRA_VERSION_MINOR}.${CTLRA_VERSION_PATCH}")

# The TCC scripting example requires libtcc-dev, which is not packaged by
# all distros, and requires some more manual moving of files to enable the
# script files to be found. It is not easy to do, so currently its disabled
option(BUILD_TCC_SCRIPTING "Build TCC scripting example"        ON)
option(BUILD_ASAN          "Build with Clang Address Sanitizer" OFF)
option(MIDI_IO_ENABLED     "Build with MIDI I/O using RtMIDI"   ON)


execute_process(COMMAND git log --oneline -n1
    OUTPUT_VARIABLE _output OUTPUT_STRIP_TRAILING_WHITESPACE)
    file(WRITE ctlra/version.hxx "#define GIT_VERSION \"${_output}\"")


add_subdirectory (ctlra)
add_subdirectory (examples)<commit_msg>cmake: remove version.hxx generation<commit_after>
cmake_minimum_required (VERSION 2.6)

project (CTLRA C)

set(CTLRA_VERSION_MAJOR "0")
set(CTLRA_VERSION_MINOR "0")
set(CTLRA_VERSION_PATCH "1")

set(CTLRA_VERSION "${CTLRA_VERSION_MAJOR}.${CTLRA_VERSION_MINOR}.${CTLRA_VERSION_PATCH}")

# The TCC scripting example requires libtcc-dev, which is not packaged by
# all distros, and requires some more manual moving of files to enable the
# script files to be found. It is not easy to do, so currently its disabled
option(BUILD_TCC_SCRIPTING "Build TCC scripting example"        ON)
option(BUILD_ASAN          "Build with Clang Address Sanitizer" OFF)
option(MIDI_IO_ENABLED     "Build with MIDI I/O using RtMIDI"   ON)

add_subdirectory (ctlra)
add_subdirectory (examples)
{'fraction_non_alphanumeric': 0.08298999411418481, 'fraction_numerical': 0.006474396703943496, 'mean_word_length': 5.4393939393939394, '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': '7268853', 'n_tokens_mistral': 592, 'n_tokens_neox': 583, 'n_words': 173}