<commit_before><commit_msg>Add CMakeLists.txt<commit_after>cmake_minimum_required(VERSION 2.8)
project(gxtas)

# Ensure GCC is correctly identified
if(NOT CMAKE_COMPILER_IS_GNUCC AND CMAKE_COMPILER_ID MATCHES "GNU")
    set(CMAKE_COMPILER_IS_GNUCC 1)
endif()

# Ensure Clang is correctly identified
if(NOT CMAKE_COMPILER_IS_CLANGCC AND CMAKE_COMPILER_ID MATCHES "Clang")
    set(CMAKE_COMPILER_IS_CLANGCC 1)
endif()

# Set compiler options
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_CLANGCC)
    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11 -Wall")
elseif(MSVC)
    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W4")
endif()

# Create source files list
file(GLOB SOURCE "src/*.c")
file(GLOB HEADERS "src/*.h")

# Target definition
add_executable(${PROJECT_NAME} ${SOURCE} ${HEADERS})
{'fraction_non_alphanumeric': 0.10526315789473684, 'fraction_numerical': 0.008985879332477536, 'mean_word_length': 7.041237113402062, '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': '4174665', 'n_tokens_mistral': 336, 'n_tokens_neox': 308, 'n_words': 62}