<commit_before># We clear the samples.xml file, which will be used by the samples browser, and
# add the samples header to it before starting to add the samples 
file(WRITE ${CMAKE_BINARY_DIR}/datafiles/samples/samples.xml "")
file(READ ${CMAKE_CURRENT_SOURCE_DIR}/common/SamplesXmlHeader.xml DEMO_META_DATA)
file(APPEND ${CMAKE_BINARY_DIR}/datafiles/samples/samples.xml ${DEMO_META_DATA})

add_subdirectory(HelloWorld)
add_subdirectory(Widgets)
add_subdirectory(RenderEffects)
add_subdirectory(Fonts)

add_subdirectory(Demo6)
add_subdirectory(DragDrop)
add_subdirectory(EditboxValidation)
add_subdirectory(GameMenu)
add_subdirectory(RestaurantGame)
add_subdirectory(Inventory)
add_subdirectory(Minesweeper)
add_subdirectory(ScrollablePane)
add_subdirectory(TabControl)
add_subdirectory(Text)
add_subdirectory(Tree)
add_subdirectory(CommonDialogs)

add_subdirectory(CustomShapesDrawing)

if (CEGUI_BUILD_LUA_MODULE)
    # add_subdirectory(Demo8)
endif()

# Simple test for GLES renderer.
#<commit_msg>MOD: Added SVG sample to the list<commit_after># We clear the samples.xml file, which will be used by the samples browser, and
# add the samples header to it before starting to add the samples 
file(WRITE ${CMAKE_BINARY_DIR}/datafiles/samples/samples.xml "")
file(READ ${CMAKE_CURRENT_SOURCE_DIR}/common/SamplesXmlHeader.xml DEMO_META_DATA)
file(APPEND ${CMAKE_BINARY_DIR}/datafiles/samples/samples.xml ${DEMO_META_DATA})

add_subdirectory(HelloWorld)
add_subdirectory(Widgets)
add_subdirectory(RenderEffects)
add_subdirectory(Fonts)
add_subdirectory(Demo6)
add_subdirectory(DragDrop)
add_subdirectory(EditboxValidation)
add_subdirectory(GameMenu)
add_subdirectory(RestaurantGame)
add_subdirectory(Inventory)
add_subdirectory(Minesweeper)
add_subdirectory(ScrollablePane)
add_subdirectory(TabControl)
add_subdirectory(Text)
add_subdirectory(Tree)
add_subdirectory(CommonDialogs)

add_subdirectory(SVG)
add_subdirectory(CustomShapesDrawing)

if (CEGUI_BUILD_LUA_MODULE)
    # add_subdirectory(Demo8)
endif()

# Simple test for GLES renderer.
#
{'fraction_non_alphanumeric': 0.08272148800783162, 'fraction_numerical': 0.0019579050416054823, 'mean_word_length': 10.169398907103826, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, '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': '476882', 'n_tokens_mistral': 686, 'n_tokens_neox': 670, 'n_words': 129}