cmake: Add support for test build

This commit is contained in:
Renz Bagaporo
2018-08-27 10:48:16 +08:00
parent 129d32772e
commit cc774111bf
54 changed files with 1290 additions and 66 deletions

View File

@@ -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()