docs: udpate CN translation for readme and build-system

This commit is contained in:
daiziyan
2022-04-12 12:12:54 +08:00
committed by daiziyan
parent dec3db6913
commit ca57e121e2
6 changed files with 51 additions and 185 deletions

View File

@@ -313,7 +313,7 @@ There are other arguments that can be passed to ``idf_component_register``. Thes
See `example component requirements`_ and `example component CMakeLists`_ for more complete component ``CMakeLists.txt`` examples.
.. _component variables:
.. _preset_component_variables:
Preset Component Variables
--------------------------
@@ -692,7 +692,7 @@ Browse the :idf_file:`/tools/cmake/project.cmake` file and supporting functions
Example Component CMakeLists
============================
Because the build environment tries to set reasonable defaults that will work most of the time, component ``CMakeLists.txt`` can be very small or even empty (see `Minimal Component CMakeLists`_). However, overriding `component variables`_ is usually required for some functionality.
Because the build environment tries to set reasonable defaults that will work most of the time, component ``CMakeLists.txt`` can be very small or even empty (see `Minimal Component CMakeLists`_). However, overriding `preset_component_variables`_ is usually required for some functionality.
Here are some more advanced examples of component CMakeLists files.