Files
esp32-aldl/main/CMakeLists.txt
T
gronod 98d35a82e1
Build and Package Firmware / build (push) Failing after 2m0s
feat: add decoder module, host unit tests, and GitHub Actions CI pipeline
2026-06-12 14:04:58 +01:00

9 lines
360 B
CMake

idf_component_register(SRCS "main.c" "decoder.c"
INCLUDE_DIRS ".")
if(EXISTS "${PROJECT_DIR}/version.txt")
file(READ "${PROJECT_DIR}/version.txt" PROJECT_VER_CONTENT)
string(STRIP "${PROJECT_VER_CONTENT}" PROJECT_VER_CONTENT)
target_compile_definitions(${COMPONENT_LIB} PRIVATE PROJECT_VER="${PROJECT_VER_CONTENT}")
endif()