pimoroni-pico/libraries/hershey_fonts/hershey_fonts.cmake

10 wiersze
273 B
CMake

set(LIB_NAME hershey_fonts)
add_library(${LIB_NAME} INTERFACE)
target_sources(${LIB_NAME} INTERFACE
${CMAKE_CURRENT_LIST_DIR}/${LIB_NAME}.cpp
${CMAKE_CURRENT_LIST_DIR}/${LIB_NAME}_data.cpp
)
target_include_directories(${LIB_NAME} INTERFACE ${CMAKE_CURRENT_LIST_DIR})