mirror of
https://github.com/m5stack/StackChan.git
synced 2026-04-27 19:12:40 +00:00
13 lines
423 B
CMake
13 lines
423 B
CMake
# 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)
|
|
|
|
set(PROJECT_VER "1.2.4")
|
|
add_definitions(-DFIRMWARE_VERSION=\"${PROJECT_VER}\")
|
|
|
|
# Add this line to disable the specific warning
|
|
add_compile_options(-Wno-missing-field-initializers)
|
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
project(stack-chan)
|