Merge branch 'fix/minimal_build_property_v5.5' into 'release/v5.5'
fix(cmake): disable MINIMAL_BUILD build property if COMPONENTS is defined (v5.5) See merge request espressif/esp-idf!45117
This commit is contained in:
@@ -137,7 +137,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
|
||||
|
||||
@@ -503,6 +503,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