<commit_before>cmake_minimum_required(VERSION 3.14)
project("Mandelbrot Comparison (C++)" LANGUAGES CXX)

if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
    string(REGEX REPLACE " /W[0-4]" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
endif()

add_executable(mandelbrot_cpp mandelbrot.cpp)
target_compile_features(mandelbrot_cpp PUBLIC cxx_std_17)
set_target_properties(mandelbrot_cpp PROPERTIES CXX_EXTENSIONS OFF)

if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
    target_compile_options(mandelbrot_cpp PRIVATE -Wall -Wextra -Wmost -pedantic -Wconversion -Wfloat-equal -Wold-style-cast -fcolor-diagnostics)
elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
    target_compile_options(mandelbrot_cpp PRIVATE /W4)
endif()
<commit_msg>Restore previous Clang compiler flags<commit_after>cmake_minimum_required(VERSION 3.14)
project("Mandelbrot Comparison (C++)" LANGUAGES CXX)

if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
    string(REGEX REPLACE " /W[0-4]" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
endif()

add_executable(mandelbrot_cpp mandelbrot.cpp)
target_compile_features(mandelbrot_cpp PUBLIC cxx_std_17)
set_target_properties(mandelbrot_cpp PROPERTIES CXX_EXTENSIONS OFF)

if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
    target_compile_options(mandelbrot_cpp PRIVATE -Wall -Wextra -Wmost -pedantic -Wfloat-equal -fcolor-diagnostics)
elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
    target_compile_options(mandelbrot_cpp PRIVATE /W4)
endif()

{'fraction_non_alphanumeric': 0.09423347398030943, 'fraction_numerical': 0.011251758087201125, 'mean_word_length': 8.063694267515924, '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': '7084929', 'n_tokens_mistral': 604, 'n_tokens_neox': 550, 'n_words': 92}