<commit_before>project(CalcQt)

if(TARGET Qt::Core AND TARGET Qt::Gui AND TARGET Qt::Widgets AND TARGET Qt::Test)
    add_library(libcalcqt STATIC src/CalculatorWidget.cpp src/CalculatorWidget.h)
    set_target_properties(libcalcqt PROPERTIES AUTOMOC ON)
    target_include_directories(libcalcqt INTERFACE src)
    target_link_libraries(libcalcqt
        PUBLIC
            Qt::Core
            Qt::Widgets
        PRIVATE
            Qt::Gui
    )

    add_executable(calcqt src/CalcQt.cpp)
    target_link_libraries(calcqt PRIVATE libcalcqt Qt::Widgets)

    add_executable(QtTestCalculatorQtSteps features/step_definitions/QtTestCalculatorQtSteps)
    target_link_libraries(QtTestCalculatorQtSteps PRIVATE libcalcqt Qt::Test cucumber-cpp)<commit_msg>Supress waring about deprecated QSignalMapper<commit_after>project(CalcQt)

if(TARGET Qt::Core AND TARGET Qt::Gui AND TARGET Qt::Widgets AND TARGET Qt::Test)
    add_library(libcalcqt STATIC src/CalculatorWidget.cpp src/CalculatorWidget.h)
    target_compile_options(libcalcqt PRIVATE "-Wno-deprecated-declarations")
    set_target_properties(libcalcqt PROPERTIES AUTOMOC ON)
    target_include_directories(libcalcqt INTERFACE src)
    target_link_libraries(libcalcqt
        PUBLIC
            Qt::Core
            Qt::Widgets
        PRIVATE
            Qt::Gui
    )

    add_executable(calcqt src/CalcQt.cpp)
    target_link_libraries(calcqt PRIVATE libcalcqt Qt::Widgets)

    add_executable(QtTestCalculatorQtSteps features/step_definitions/QtTestCalculatorQtSteps)
    target_link_libraries(QtTestCalculatorQtSteps PRIVATE libcalcqt Qt::Test cucumber-cpp)
{'fraction_non_alphanumeric': 0.06625386996904024, 'fraction_numerical': 0.0, 'mean_word_length': 4.404682274247492, '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': '4798505', 'n_tokens_mistral': 538, 'n_tokens_neox': 507, 'n_words': 90}