Skip to content

Commit

Permalink
Merge pull request #47 from valaxkong/patch-1
Browse files Browse the repository at this point in the history
fix typos in debug.md
  • Loading branch information
zzsqwq authored Dec 24, 2023
2 parents 57c1c82 + e313a91 commit 2ab660d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/features/debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ include(CMakePrintHelpers)
cmake_print_variables(MY_VARIABLE)
```

如何你只是想要打印一个变量,那么上述方法已经很好用了!如何你想要打印一些关于某些目标 (或者是其他拥有变量的项目,比如 `SOURCES``DIRECTORIES``TESTS` , 或 `CACHE_ENTRIES` - 全局变量好像因为某些原因缺失了) 的变量,与其一个一个打印它们,你可以简单的列举并打印它们:
如果你只是想要打印一个变量,那么上述方法已经很好用了!如果你想要打印一些关于某些目标 (或者是其他拥有变量的项目,比如 `SOURCES``DIRECTORIES``TESTS` , 或 `CACHE_ENTRIES` - 全局变量好像因为某些原因缺失了) 的变量,与其一个一个打印它们,你可以简单的列举并打印它们:

```cmake
cmake_print_properties(
Expand Down

0 comments on commit 2ab660d

Please sign in to comment.