esp-idf/components/log/test_apps/main/CMakeLists.txt
Jeff H 628b633e50 log: Add master log option
Closes https://github.com/espressif/esp-idf/issues/11049
Closes https://github.com/espressif/esp-idf/pull/11057

Signed-off-by: KonstantinKondrashov <konstantin@espressif.com>

Result from an example in 11057:
When this option is not enabled:
1000 iterations took 10914 microseconds (10.9 microseconds per invocation)
1000 iterations took 10909 microseconds (10.9 microseconds per invocation)

When this option is enabled:
1000 iterations took 10960 microseconds (10.9 microseconds per invocation)
1000 iterations took 107 microseconds (0.1 microseconds per invocation)
2023-05-18 18:35:19 +08:00

4 lines
127 B
CMake

idf_component_register(SRC_DIRS "."
PRIV_REQUIRES unity esp_timer
WHOLE_ARCHIVE)