File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
examples/espidf-arduino-matter-light Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.16.0 )
2
- include ($ENV{IDF_PATH} /tools/cmake/project.cmake )
1
+ # The following lines of boilerplate have to be in your project's
2
+ # CMakeLists in this exact order for cmake to work correctly
3
+ cmake_minimum_required (VERSION 3.5 )
4
+
3
5
set (PROJECT_VER "1.0" )
4
6
set (PROJECT_VER_NUMBER 1 )
5
7
6
- project (matter-light )
8
+ # This should be done before using the IDF_TARGET variable.
9
+ include ($ENV{IDF_PATH} /tools/cmake/project.cmake )
7
10
11
+ idf_build_set_property (MINIMAL_BUILD ON )
12
+ project (arduino_managed_component_light )
8
13
9
14
# WARNING: This is just an example for using key for decrypting the encrypted OTA image
10
15
# Please do not use it as is.
@@ -20,4 +25,4 @@ idf_build_set_property(CXX_COMPILE_OPTIONS "-std=gnu++17;-Os;-DCHIP_HAVE_CONFIG_
20
25
idf_build_set_property (C_COMPILE_OPTIONS "-Os" APPEND )
21
26
# For RISCV chips, project_include.cmake sets -Wno-format, but does not clear various
22
27
# flags that depend on -Wformat
23
- idf_build_set_property (COMPILE_OPTIONS "-Wno-format-nonliteral;-Wno-format-security" APPEND )
28
+ idf_build_set_property (COMPILE_OPTIONS "-Wno-format-nonliteral;-Wno-format-security" APPEND )
You can’t perform that action at this time.
0 commit comments