feat: Add LLMCore submodule

This commit is contained in:
Petr Mironychev
2026-03-29 17:17:57 +02:00
parent 15d714588f
commit 7b0b04a1ee
6 changed files with 10 additions and 5 deletions

3
.gitmodules vendored
View File

@ -0,0 +1,3 @@
[submodule "sources/external/llmcore"]
path = sources/external/llmcore
url = https://github.com/Palm1r/llmcore.git

View File

@ -35,6 +35,7 @@ add_definitions(
)
add_subdirectory(llmcore)
add_subdirectory(sources/external/llmcore)
add_subdirectory(settings)
add_subdirectory(logger)
add_subdirectory(UIControls)

View File

@ -80,7 +80,7 @@ target_link_libraries(QodeAssistChatView
Qt::Network
QtCreator::Core
QtCreator::Utils
LLMCore
PluginLLMCore
QodeAssistSettings
Context
QodeAssistUIControlsplugin

View File

@ -20,7 +20,7 @@ target_link_libraries(Context
QtCreator::Utils
QtCreator::ProjectExplorer
PRIVATE
LLMCore
PluginLLMCore
QodeAssistSettings
)

View File

@ -1,4 +1,4 @@
add_library(LLMCore STATIC
add_library(PluginLLMCore STATIC
RequestType.hpp
Provider.hpp Provider.cpp
ProvidersManager.hpp ProvidersManager.cpp
@ -21,7 +21,7 @@ add_library(LLMCore STATIC
ResponseCleaner.hpp
)
target_link_libraries(LLMCore
target_link_libraries(PluginLLMCore
PUBLIC
Qt::Core
Qt::Network
@ -32,4 +32,4 @@ target_link_libraries(LLMCore
QodeAssistLogger
)
target_include_directories(LLMCore PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_include_directories(PluginLLMCore PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

1
sources/external/llmcore vendored Submodule