Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add chip target to direct CMake example code snippet in build system docs (IDFGH-14339) #15129

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/en/api-guides/build-system.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ When ``idf.py`` does something, it prints each command that it runs for easy ref

mkdir -p build
cd build
cmake .. -G Ninja # or 'Unix Makefiles'
cmake .. -DIDF_TARGET={IDF_TARGET_PATH_NAME} -G Ninja # or 'Unix Makefiles'
ninja

In the above list, the ``cmake`` command configures the project and generates build files for use with the final build tool. In this case, the final build tool is Ninja_: running ``ninja`` actually builds the project.
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_CN/api-guides/build-system.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ idf.py

mkdir -p build
cd build
cmake .. -G Ninja # 或者 'Unix Makefiles'
cmake .. -DIDF_TARGET={IDF_TARGET_PATH_NAME} -G Ninja # 或者 'Unix Makefiles'
ninja

在上面的命令列表中,``cmake`` 命令对项目进行配置,并生成用于最终构建工具的构建文件。在这个例子中,最终构建工具是 Ninja_: 运行 ``ninja`` 来构建项目。
Expand Down
Loading