release: Hermit 1.0.0 — home layout, icon font, install
Compact the home parliament chip, animate crab states like the HTML kit, ship hermit-icons.ttf (sbix) + frames, and install the font from make/ bootstrap/package paths. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -428,9 +428,22 @@ endif()
|
||||
|
||||
if(WIN32)
|
||||
install(TARGETS cst-agent RUNTIME DESTINATION .)
|
||||
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/res/hermit-icons.ttf")
|
||||
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/res/hermit-icons.ttf" DESTINATION .)
|
||||
endif()
|
||||
else()
|
||||
include(GNUInstallDirs)
|
||||
install(TARGETS cst-agent RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/res/hermit-icons.ttf")
|
||||
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/res/hermit-icons.ttf"
|
||||
DESTINATION ${CMAKE_INSTALL_DATADIR}/hermit)
|
||||
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/res/hermit-icons.ttf"
|
||||
DESTINATION ${CMAKE_INSTALL_DATADIR}/fonts/hermit)
|
||||
endif()
|
||||
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/res/hermit-frames")
|
||||
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/res/hermit-frames/"
|
||||
DESTINATION ${CMAKE_INSTALL_DATADIR}/hermit/frames)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
message(STATUS "Compiler: ${CMAKE_C_COMPILER_ID} ${CMAKE_C_COMPILER}")
|
||||
|
||||
Reference in New Issue
Block a user