<commit_before># ============================================================================ #
#                       Application name and options                           #
# ============================================================================ #

# Configure build environment
include(../../cmake/BuildEnvironment.cmake)

# OpenGL dependency
set(OpenGL_GL_PREFERENCE GLVND)
find_package(OpenGL REQUIRED)
include_directories(${OPENGL_INCLUDE_DIRS})

# Target name
set(TARGET imgui_utils)

# Project name
project(${TARGET} C CXX)

# Print status message
message(STATUS "App ${TARGET}")


# ============================================================================ #
#                       Sources                                                #
# ============================================================================ #

# Source files
file(GLOB_RECURSE SOURCES_H_CPP
    ${CMAKE_CURRENT_SOURCE_DIR}/*.h
    ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp
    )
source_group_by_path_all(${CMAKE_CURRENT_SOURCE_DIR} ${SOURCES_H_CPP})

# ============================================================================ #
#                       Create Library                                         #
# ============================================================================ #

# Build executable
add_library(${TARGET} STATIC ${SOURCES_H_CPP} $<TARGET_OBJECTS:ImGuiColorTextEdit>)
babylon_target_clang_tidy(${TARGET})

# Include directories
target_include_directories(${TARGET}
    PUBLIC
    ${CMAKE_CURRENT_SOURCE_DIR}/..
    PRIVATE
    ${ImGuiColorTextEditFolder}/..
)

# Libraries
target_link_libraries(${TARGET}
    PUBLIC
    glfw
    glad
    imgui
    ${OPENGL_LIBRARIES}
    BabylonCpp
)

if (UNIX AND NOT APPLE)
    target_link_libraries(${TARGET} PUBLIC X11)
endif()<commit_msg>imgui_utils/CMakeLists: add include for ImGuiColorTextEdit<commit_after># ============================================================================ #
#                       Application name and options                           #
# ============================================================================ #

# Configure build environment
include(../../cmake/BuildEnvironment.cmake)

# OpenGL dependency
set(OpenGL_GL_PREFERENCE GLVND)
find_package(OpenGL REQUIRED)
include_directories(${OPENGL_INCLUDE_DIRS})

# Target name
set(TARGET imgui_utils)

# Project name
project(${TARGET} C CXX)

# Print status message
message(STATUS "App ${TARGET}")


# ============================================================================ #
#                       Sources                                                #
# ============================================================================ #

# Source files
file(GLOB_RECURSE SOURCES_H_CPP
    ${CMAKE_CURRENT_SOURCE_DIR}/*.h
    ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp
    )
source_group_by_path_all(${CMAKE_CURRENT_SOURCE_DIR} ${SOURCES_H_CPP})

# ============================================================================ #
#                       Create Library                                         #
# ============================================================================ #

# Build executable
add_library(${TARGET} STATIC ${SOURCES_H_CPP} $<TARGET_OBJECTS:ImGuiColorTextEdit>)
babylon_target_clang_tidy(${TARGET})

# Include directories
target_include_directories(${TARGET}
    PUBLIC
    ${CMAKE_CURRENT_SOURCE_DIR}/..
    PRIVATE
    ${CMAKE_CURRENT_LIST_DIR}/../../external # For ImGuiColorTextEdit
)

# Libraries
target_link_libraries(${TARGET}
    PUBLIC
    glfw
    glad
    imgui
    ${OPENGL_LIBRARIES}
    BabylonCpp
)

if (UNIX AND NOT APPLE)
    target_link_libraries(${TARGET} PUBLIC X11)
endif()
{'fraction_non_alphanumeric': 0.324169842133914, 'fraction_numerical': 0.0010887316276537834, 'mean_word_length': 3.841897233201581, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3493141', 'n_tokens_mistral': 1011, 'n_tokens_neox': 892, 'n_words': 151}