19 lines
622 B
CMake
19 lines
622 B
CMake
# 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.4")
|
||
|
||
# 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)
|