GLOB_RECUSE
时间: 2023-08-06 21:08:53 浏览: 116
GLOB_RECURSE是CMake中的一个命令,用于在指定路径下递归地搜索符合指定模式的文件,并将搜索结果保存到一个变量中。\[1\] 该命令的语法为:file(GLOB_RECURSE variable \[RELATIVE path\] \[FOLLOW_SYMLINKS\] \[globbing expressions\]...)。通过使用GLOB_RECURSE命令,可以方便地获取指定路径下的所有符合条件的文件,并将其用于后续的构建过程。
#### 引用[.reference_title]
- *1* [CMake file命令参数GLOB和GLOB_RECURSE](https://blog.csdn.net/beibeix2015/article/details/113112371)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [cmake -- 笔记](https://blog.csdn.net/wishfly/article/details/125799524)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文