mirror of
https://github.com/wolfpld/tracy.git
synced 2026-06-08 08:33:48 +00:00
Markdown renderer is not strictly an LLM functionality.
This commit is contained in:
@@ -204,6 +204,15 @@ CPMAddPackage(
|
||||
EXCLUDE_FROM_ALL TRUE
|
||||
)
|
||||
|
||||
# md4c
|
||||
|
||||
CPMAddPackage(
|
||||
NAME md4c
|
||||
GITHUB_REPOSITORY mity/md4c
|
||||
GIT_TAG release-0.5.2
|
||||
EXCLUDE_FROM_ALL TRUE
|
||||
)
|
||||
|
||||
if(NOT EMSCRIPTEN)
|
||||
|
||||
# base64
|
||||
@@ -284,13 +293,4 @@ if(NOT EMSCRIPTEN)
|
||||
target_include_directories(TracyLibcurl INTERFACE ${libcurl_SOURCE_DIR}/include)
|
||||
endif()
|
||||
|
||||
# md4c
|
||||
|
||||
CPMAddPackage(
|
||||
NAME md4c
|
||||
GITHUB_REPOSITORY mity/md4c
|
||||
GIT_TAG release-0.5.2
|
||||
EXCLUDE_FROM_ALL TRUE
|
||||
)
|
||||
|
||||
endif()
|
||||
@@ -241,10 +241,15 @@ target_link_libraries(${PROJECT_NAME} PRIVATE
|
||||
TracyImGui
|
||||
Threads::Threads
|
||||
nlohmann_json::nlohmann_json
|
||||
md4c
|
||||
)
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE
|
||||
${tidy_SOURCE_DIR}/include
|
||||
)
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE
|
||||
${md4c_SOURCE_DIR}/src
|
||||
)
|
||||
|
||||
if(NOT EMSCRIPTEN)
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE
|
||||
TracyLibcurl
|
||||
@@ -252,11 +257,6 @@ if(NOT EMSCRIPTEN)
|
||||
tidy-static
|
||||
TracyPugixml
|
||||
usearch
|
||||
md4c
|
||||
)
|
||||
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE
|
||||
${md4c_SOURCE_DIR}/src
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include "TracyImGui.hpp"
|
||||
#include "TracyLlmChat.hpp"
|
||||
#include "TracyLlmMarkdown.hpp"
|
||||
#include "TracyMarkdown.hpp"
|
||||
#include "TracyMouse.hpp"
|
||||
#include "../Fonts.hpp"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __TRACYLLMMARKDOWN_HPP__
|
||||
#define __TRACYLLMMARKDOWN_HPP__
|
||||
#ifndef __TRACYMARKDOWN_HPP__
|
||||
#define __TRACYMARKDOWN_HPP__
|
||||
|
||||
#include <md4c.h>
|
||||
#include <string>
|
||||
Reference in New Issue
Block a user