add_library(Context STATIC
    DocumentContextReader.hpp DocumentContextReader.cpp
    ChangesManager.h ChangesManager.cpp
    ContextManager.hpp ContextManager.cpp
    ContentFile.hpp
    DocumentReaderQtCreator.hpp
    IDocumentReader.hpp
    TokenUtils.hpp TokenUtils.cpp
    ProgrammingLanguage.hpp ProgrammingLanguage.cpp
    IContextManager.hpp
    IgnoreManager.hpp IgnoreManager.cpp
    ProjectUtils.hpp ProjectUtils.cpp
)

target_link_libraries(Context
    PUBLIC
    Qt::Core
    Qt::Gui
    QtCreator::Core
    QtCreator::TextEditor
    QtCreator::Utils
    QtCreator::ProjectExplorer
    PRIVATE
    PluginLLMCore
    QodeAssistSettings
)

target_include_directories(Context PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR})
