<commit_before>project (halley-ui)

include_directories(${Boost_INCLUDE_DIR} "include" "include/halley/ui" "../core/include" "../utils/include" "../audio/include")

set(SOURCES
        "src/ui/ui_event.cpp"
        "src/ui/ui_input.cpp"
        "src/ui/ui_painter.cpp"
        "src/ui/ui_parent.cpp"
        "src/ui/ui_root.cpp"
        "src/ui/ui_sizer.cpp"
        "src/ui/ui_style.cpp"
        "src/ui/ui_stylesheet.cpp"
        "src/ui/ui_validator.cpp"
        "src/ui/ui_widget.cpp"

        "src/ui/widgets/ui_button.cpp"
        "src/ui/widgets/ui_checkbox.cpp"
        "src/ui/widgets/ui_clickable.cpp"
        "src/ui/widgets/ui_dropdown.cpp"
        "src/ui/widgets/ui_gamepad_image.cpp"
        "src/ui/widgets/ui_hybrid_list.cpp"
        "src/ui/widgets/ui_image.cpp"
        "src/ui/widgets/ui_label.cpp"
        "src/ui/widgets/ui_list.cpp"
        "src/ui/widgets/ui_paged_pane.cpp"
        "src/ui/widgets/ui_scroll_pane.cpp"
        "src/ui/widgets/ui_scrollbar.cpp"
        "src/ui/widgets/ui_scrollbar_pane.cpp"
        "src/ui/widgets/ui_textinput.cpp"
        )

set(HEADERS
        "include/halley/ui/halley_ui.h"
        
        "include/halley/ui/ui_element.h"
        "include/halley/ui/ui_event.h"
        "include/halley/ui/ui_input.h"
        "include/halley/ui/ui_painter.h"
        "include/halley/ui/ui_parent.h"
        "include/halley/ui/ui_root.h"
        "include/halley/ui/ui_sizer.h"
        "include/halley/ui/ui_style.h"
        "include/halley/ui/ui_stylesheet.h"
        "include/halley/ui/ui_validator.h"
        "include/halley/ui/ui_widget.h"

        "include/halley/ui/widgets/ui_button.h"
        "include/halley/ui/widgets/ui_checkbox.h"
        "include/halley/ui/widgets/ui_clickable.h"
        "include/halley/ui/widgets/ui_dropdown.h"
        "include/halley/ui/widgets/ui_gamepad_image.h"
        "include/halley/ui/widgets/ui_hybrid_list.h"
        "include/halley/ui/widgets/ui_image.h"
        "include/halley/ui/widgets/ui_label.h"
        "include/halley/ui/widgets/ui_list.h"
        "include/halley/ui/widgets/ui_paged_pane.h"
        "include/halley/ui/widgets/ui_scroll_pane.h"
        "include/halley/ui/widgets/ui_scrollbar.h"
        "include/halley/ui/widgets/ui_scrollbar_pane.h"
        "include/halley/ui/widgets/ui_textinput.h"
        )

assign_source_group(${SOURCES})
assign_source_group(${HEADERS})

add_library (halley-ui ${SOURCES} ${HEADERS})
target_link_libraries(halley-ui halley-halley-utils)<commit_msg>Fix cmake oddity.<commit_after>project (halley-ui)

include_directories(${Boost_INCLUDE_DIR} "include" "include/halley/ui" "../core/include" "../utils/include" "../audio/include")

set(SOURCES
        "src/ui/ui_event.cpp"
        "src/ui/ui_input.cpp"
        "src/ui/ui_painter.cpp"
        "src/ui/ui_parent.cpp"
        "src/ui/ui_root.cpp"
        "src/ui/ui_sizer.cpp"
        "src/ui/ui_style.cpp"
        "src/ui/ui_stylesheet.cpp"
        "src/ui/ui_validator.cpp"
        "src/ui/ui_widget.cpp"

        "src/ui/widgets/ui_button.cpp"
        "src/ui/widgets/ui_checkbox.cpp"
        "src/ui/widgets/ui_clickable.cpp"
        "src/ui/widgets/ui_dropdown.cpp"
        "src/ui/widgets/ui_gamepad_image.cpp"
        "src/ui/widgets/ui_hybrid_list.cpp"
        "src/ui/widgets/ui_image.cpp"
        "src/ui/widgets/ui_label.cpp"
        "src/ui/widgets/ui_list.cpp"
        "src/ui/widgets/ui_paged_pane.cpp"
        "src/ui/widgets/ui_scroll_pane.cpp"
        "src/ui/widgets/ui_scrollbar.cpp"
        "src/ui/widgets/ui_scrollbar_pane.cpp"
        "src/ui/widgets/ui_textinput.cpp"
        )

set(HEADERS
        "include/halley/ui/halley_ui.h"
        
        "include/halley/ui/ui_element.h"
        "include/halley/ui/ui_event.h"
        "include/halley/ui/ui_input.h"
        "include/halley/ui/ui_painter.h"
        "include/halley/ui/ui_parent.h"
        "include/halley/ui/ui_root.h"
        "include/halley/ui/ui_sizer.h"
        "include/halley/ui/ui_style.h"
        "include/halley/ui/ui_stylesheet.h"
        "include/halley/ui/ui_validator.h"
        "include/halley/ui/ui_widget.h"

        "include/halley/ui/widgets/ui_button.h"
        "include/halley/ui/widgets/ui_checkbox.h"
        "include/halley/ui/widgets/ui_clickable.h"
        "include/halley/ui/widgets/ui_dropdown.h"
        "include/halley/ui/widgets/ui_gamepad_image.h"
        "include/halley/ui/widgets/ui_hybrid_list.h"
        "include/halley/ui/widgets/ui_image.h"
        "include/halley/ui/widgets/ui_label.h"
        "include/halley/ui/widgets/ui_list.h"
        "include/halley/ui/widgets/ui_paged_pane.h"
        "include/halley/ui/widgets/ui_scroll_pane.h"
        "include/halley/ui/widgets/ui_scrollbar.h"
        "include/halley/ui/widgets/ui_scrollbar_pane.h"
        "include/halley/ui/widgets/ui_textinput.h"
        )

assign_source_group(${SOURCES})
assign_source_group(${HEADERS})

add_library (halley-ui ${SOURCES} ${HEADERS})
target_link_libraries(halley-ui halley-utils)
{'fraction_non_alphanumeric': 0.1477158381968203, 'fraction_numerical': 0.0, 'mean_word_length': 2.425223983459683, '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': '6477368', 'n_tokens_mistral': 2014, 'n_tokens_neox': 1932, 'n_words': 137}