# The following five 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(ESPRCCar)

# Release 模式：强制全局静默，编译期删除所有 ESP_LOG (I/W/E)
# menuconfig 选择 Release 时自动生效，无需其他操作
if(CONFIG_ROBO_APP_FW_RELEASE)
    idf_build_set_property(COMPILE_DEFINITIONS "LOG_LOCAL_LEVEL=ESP_LOG_NONE" APPEND)
endif()
