Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions profiler/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ option(NO_ISA_EXTENSIONS "Disable ISA extensions (don't pass -march=native or -m
option(NO_STATISTICS "Disable calculation of statistics" OFF)
option(SELF_PROFILE "Enable self-profiling" OFF)
option(SANITIZE "Sanitizer parameters" OFF)
option(USE_UNICODE_FONT "Use Unicode font" OFF)

include(${CMAKE_CURRENT_LIST_DIR}/../cmake/version.cmake)

Expand Down Expand Up @@ -145,13 +146,21 @@ set(PROFILER_FILES

Embed(PROFILER_FILES SystemPrompt src/llm/system.prompt.md)
Embed(PROFILER_FILES SystemReminder src/llm/system.reminder.md)
Embed(PROFILER_FILES FontFixed src/font/FiraCode-Retina.ttf)
Embed(PROFILER_FILES FontIcons src/font/Font\ Awesome\ 6\ Free-Solid-900.otf)
Embed(PROFILER_FILES FontNormal src/font/Roboto-Regular.ttf)
Embed(PROFILER_FILES FontBold src/font/Roboto-Bold.ttf)
Embed(PROFILER_FILES FontItalic src/font/Roboto-Italic.ttf)
Embed(PROFILER_FILES FontBoldItalic src/font/Roboto-BoldItalic.ttf)
Embed(PROFILER_FILES Manual ../manual/tracy.md)
Embed(PROFILER_FILES FontIcons src/font/Font\ Awesome\ 6\ Free-Solid-900.otf)
if (USE_UNICODE_FONT)
Embed(PROFILER_FILES FontNormal src/font/unifont.otf)
Embed(PROFILER_FILES FontBold src/font/unifont.otf)
Embed(PROFILER_FILES FontItalic src/font/unifont.otf)
Embed(PROFILER_FILES FontBoldItalic src/font/unifont.otf)
Embed(PROFILER_FILES FontFixed src/font/unifont.otf)
else()
Embed(PROFILER_FILES FontNormal src/font/Roboto-Regular.ttf)
Embed(PROFILER_FILES FontBold src/font/Roboto-Bold.ttf)
Embed(PROFILER_FILES FontItalic src/font/Roboto-Italic.ttf)
Embed(PROFILER_FILES FontBoldItalic src/font/Roboto-BoldItalic.ttf)
Embed(PROFILER_FILES FontFixed src/font/FiraCode-Retina.ttf)
endif()

set(INCLUDES "${CMAKE_CURRENT_BINARY_DIR}")
set(LIBS "")
Expand Down
Binary file added profiler/src/font/unifont.otf
Binary file not shown.