mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-07 17:08:49 +00: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