Type Cleanup & Rendering Fixes
ci / checks (push) Failing after 23m53s

This commit is contained in:
khodowany
2026-09-06 11:21:28 -05:00
parent ca285d63d4
commit 6f3f26a3df
15 changed files with 289 additions and 58 deletions
+10
View File
@@ -37,6 +37,15 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
pico_sdk_init()
set(VAMP_MODULUS_INCLUDE_DIR "" CACHE PATH "Path to the Modulus public include directory")
if(NOT VAMP_MODULUS_INCLUDE_DIR)
set(VAMP_MODULUS_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../modulus/include")
endif()
get_filename_component(VAMP_MODULUS_INCLUDE_DIR "${VAMP_MODULUS_INCLUDE_DIR}" ABSOLUTE BASE_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
if(NOT EXISTS "${VAMP_MODULUS_INCLUDE_DIR}/modulus/types.hpp")
message(FATAL_ERROR "VAMP_MODULUS_INCLUDE_DIR must contain modulus/types.hpp: ${VAMP_MODULUS_INCLUDE_DIR}")
endif()
add_executable(product-vamp-pico2w
src/vamp_style.cpp
src/vamp_style/font.cpp
@@ -48,6 +57,7 @@ add_executable(product-vamp-pico2w
)
target_include_directories(product-vamp-pico2w PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/include
${VAMP_MODULUS_INCLUDE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/include/vamp_pico/capi
)
target_compile_definitions(product-vamp-pico2w PRIVATE