mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
Merge branch 'fix/minimal_build_property_v6.0' into 'release/v6.0'
fix(cmake): disable MINIMAL_BUILD build property if COMPONENTS is defined (v6.0) See merge request espressif/esp-idf!45116
This commit is contained in:
@@ -116,7 +116,7 @@ repos:
|
||||
name: Check tools dir files patterns
|
||||
entry: tools/ci/check_tools_files_patterns.py
|
||||
language: python
|
||||
files: '^tools/.+'
|
||||
files: '^(tools/.+|.gitlab/ci/rules\.yml)'
|
||||
additional_dependencies:
|
||||
- PyYAML == 5.3.1
|
||||
pass_filenames: false
|
||||
|
||||
@@ -504,6 +504,7 @@ function(__project_init components_var test_components_var)
|
||||
if(DEFINED COMPONENTS)
|
||||
message(WARNING "The MINIMAL_BUILD property is disregarded because the COMPONENTS variable is defined.")
|
||||
set(minimal_build OFF)
|
||||
idf_build_set_property(MINIMAL_BUILD OFF)
|
||||
else()
|
||||
set(COMPONENTS main ${TEST_COMPONENTS})
|
||||
set(minimal_build ON)
|
||||
|
||||
Reference in New Issue
Block a user