mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-03 19:41:55 +02:00
cmake: Add support for test build
This commit is contained in:
@@ -144,4 +144,8 @@ else()
|
||||
|
||||
endif()
|
||||
|
||||
# Enable dynamic esp_timer overflow value if building unit tests
|
||||
if(NOT "${BUILD_TEST_COMPONENTS}" EQUAL "")
|
||||
add_definitions(-DESP_TIMER_DYNAMIC_OVERFLOW_VAL)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user