esp-idf/components/xtensa/CMakeLists.txt

10 lines
264 B
CMake
Raw Normal View History

set(COMPONENT_SRCS "eri.c" "trax.c")
set(COMPONENT_ADD_INCLUDEDIRS "include" "${IDF_TARGET}/include")
set(COMPONENT_ADD_LDFRAGMENTS linker.lf)
register_component()
2019-03-26 04:30:43 -04:00
target_link_libraries(${COMPONENT_TARGET} "${CMAKE_CURRENT_SOURCE_DIR}/${IDF_TARGET}/libhal.a")