cmake: Add warnings that convert_to_cmake.py doesn't calculate component requirements
Any component which requires another component will need this manually added to its CMakeLists.txt file.
This commit is contained in:
committed by
Angus Gratton
parent
ee8557f69d
commit
8887f79bef
@@ -1488,6 +1488,8 @@ The tool will convert the project Makefile and any component ``component.mk`` fi
|
||||
|
||||
It does so by running ``make`` to expand the ESP-IDF build system variables which are set by the build, and then producing equivalent CMakelists files to set the same variables.
|
||||
|
||||
.. important:: When the conversion tool converts a ``component.mk`` file, it doesn't determine what other components that component depends on. This information needs to be added manually by editing the new component ``CMakeLists.txt`` file and adding ``REQUIRES`` and/or ``PRIV_REQUIRES`` clauses. Otherwise, source files in the component will fail to compile as headers from other components are not found. See :ref:`component requirements`.
|
||||
|
||||
The conversion tool is not capable of dealing with complex Makefile logic or unusual targets. These will need to be converted by hand.
|
||||
|
||||
No Longer Available in CMake
|
||||
|
||||
Reference in New Issue
Block a user