mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
cmake: Add support for test build
This commit is contained in:
10
tools/unit-test-app/components/unity/CMakeLists.txt
Normal file
10
tools/unit-test-app/components/unity/CMakeLists.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
set(COMPONENT_SRCDIRS .)
|
||||
set(COMPONENT_ADD_INCLUDEDIRS include)
|
||||
|
||||
set(COMPONENT_REQUIRES spi_flash idf_test)
|
||||
|
||||
register_component()
|
||||
|
||||
if(GCC_NOT_5_2_0)
|
||||
component_compile_options(-Wno-unused-const-variable)
|
||||
endif()
|
Reference in New Issue
Block a user