-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
16 lines (14 loc) · 1.02 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# The following lines of boilerplate have to be in your project's
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.16)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(hello_world)
idf_build_set_property(COMPILE_OPTIONS "-fsanitize-coverage=trace-pc,trace-cmp" APPEND)
target_compile_options(__idf_soc PRIVATE "-fno-sanitize-coverage=trace-pc,trace-cmp")
target_compile_options(__idf_hal PRIVATE "-fno-sanitize-coverage=trace-pc,trace-cmp")
target_compile_options(__idf_xtensa PRIVATE "-fno-sanitize-coverage=trace-pc,trace-cmp")
target_compile_options(__idf_esp_system PRIVATE "-fno-sanitize-coverage=trace-pc,trace-cmp")
target_compile_options(__idf_esp_hw_support PRIVATE "-fno-sanitize-coverage=trace-pc,trace-cmp")
target_compile_options(__idf_esp_rom PRIVATE "-fno-sanitize-coverage=trace-pc,trace-cmp")
target_compile_options(__idf_spi_flash PRIVATE "-fno-sanitize-coverage=trace-pc,trace-cmp")
target_compile_options(__idf_freertos PRIVATE "-fno-sanitize-coverage=trace-pc,trace-cmp")