mirror of
https://github.com/78/xiaozhi-esp32.git
synced 2026-02-27 22:36:35 +00:00
- Updated PROJECT_VER in CMakeLists.txt from 2.2.2 to 2.2.3. - Refactored the board configuration parsing logic in release.py to improve clarity and efficiency by eliminating the mapping function and directly searching for the board type in the CMakeLists.txt file.
14 lines
494 B
CMake
Executable File
14 lines
494 B
CMake
Executable File
# 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)
|
|
|
|
# Add this line to disable the specific warning
|
|
add_compile_options(-Wno-missing-field-initializers)
|
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
# "Trim" the build. Include the minimal set of components, main, and anything it depends on.
|
|
idf_build_set_property(MINIMAL_BUILD ON)
|
|
|
|
set(PROJECT_VER "2.2.3")
|
|
project(xiaozhi)
|