mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
12 lines
515 B
CMake
12 lines
515 B
CMake
idf_component_register(SRCS "test_wl.cpp"
|
|
PRIV_INCLUDE_DIRS "../../private_include"
|
|
"../.."
|
|
REQUIRES wear_levelling
|
|
PRIV_REQUIRES spi_flash
|
|
WHOLE_ARCHIVE
|
|
)
|
|
|
|
# Currently 'main' for IDF_TARGET=linux is defined in freertos component.
|
|
# Since we are using a freertos mock here, need to let Catch2 provide 'main'.
|
|
target_link_libraries(${COMPONENT_LIB} PRIVATE Catch2WithMain)
|