toy-hardware/CMakeLists.txt

19 lines
618 B
CMake
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# For more information about build system see
# https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html
# 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)
# 1.5.6
# 版本号用于OTA升级
set(PROJECT_VER "1.7.5")
# Add this line to disable the specific warning
add_compile_options(-Wno-missing-field-initializers)
# 排除esp_lcd组件因为板子不需要显示器
set(EXCLUDE_COMPONENTS "esp_lcd")
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(kapi)