Merge branch 'bugfix/cmake_convert_whitespace' into 'master'

cmake: Minor convert_to_cmake.py fixes

See merge request espressif/esp-idf!7066
This commit is contained in:
Angus Gratton
2020-03-02 14:22:37 +08:00
2 changed files with 17 additions and 5 deletions

View File

@@ -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