<commit_before>include_directories( ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR} )

# Sources
set( OXYGEN-GTK-SOURCES
    oxygencairocontext.cpp
    oxygencairopattern.cpp
    oxygencairoutils.cpp
    oxygencolorutils.cpp
    oxygenfontinfo.cpp
    oxygengtkicons.cpp
    oxygengtkrc.cpp
    oxygengtkutils.cpp
    oxygenmaps.cpp
    oxygenoptionmap.cpp
    oxygenqtsettings.cpp
    oxygenrcstyle.cpp
    oxygenrgba.cpp
    oxygenstyle.cpp
    oxygenstylehelper.cpp
    oxygenstylewrapper.cpp
    oxygentheme.c
    oxygentileset.cpp
 )

add_library( oxygen-gtk SHARED ${OXYGEN-GTK-SOURCES} )

# Add GTK's cflags
set( CMAKE_CXX_FLAGS " -Wall ${CMAKE_CXX_FLAGS} ${GTK_CFLAGS}" )
set( CMAKE_C_FLAGS " -Wall ${CMAKE_C_FLAGS} ${GTK_CFLAGS}" )

target_link_libraries( oxygen-gtk ${GTK_LINK_FLAGS} ${X11_X11_LIB} )

install( TARGETS oxygen-gtk DESTINATION ${INSTALL_PATH_GTK_ENGINES} )
<commit_msg>added -Werror, to enforce warning-free compilation.<commit_after>include_directories( ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR} )

# Sources
set( OXYGEN-GTK-SOURCES
    oxygencairocontext.cpp
    oxygencairopattern.cpp
    oxygencairoutils.cpp
    oxygencolorutils.cpp
    oxygenfontinfo.cpp
    oxygengtkicons.cpp
    oxygengtkrc.cpp
    oxygengtkutils.cpp
    oxygenmaps.cpp
    oxygenoptionmap.cpp
    oxygenqtsettings.cpp
    oxygenrcstyle.cpp
    oxygenrgba.cpp
    oxygenstyle.cpp
    oxygenstylehelper.cpp
    oxygenstylewrapper.cpp
    oxygentheme.c
    oxygentileset.cpp
 )

add_library( oxygen-gtk SHARED ${OXYGEN-GTK-SOURCES} )

# Add GTK's cflags
set( CMAKE_CXX_FLAGS " -Wall -Werror ${CMAKE_CXX_FLAGS} ${GTK_CFLAGS}" )
set( CMAKE_C_FLAGS " -Wall -Werror ${CMAKE_C_FLAGS} ${GTK_CFLAGS}" )

target_link_libraries( oxygen-gtk ${GTK_LINK_FLAGS} ${X11_X11_LIB} )

install( TARGETS oxygen-gtk DESTINATION ${INSTALL_PATH_GTK_ENGINES} )

{'fraction_non_alphanumeric': 0.0924548352816153, 'fraction_numerical': 0.004250797024442083, 'mean_word_length': 4.426512968299712, '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': '763886', 'n_tokens_mistral': 779, 'n_tokens_neox': 706, 'n_words': 109}