cmakelists link_libraries
时间: 2023-10-19 17:59:29 浏览: 80
cmakelists中的link_libraries命令用于将库链接到稍后添加的所有目标。它的语法格式如下:link_libraries([item1 [item2 [...]] [[debug|optimized|general <item>] ...)。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [CMake中link_libraries的使用](https://blog.csdn.net/fengbingchun/article/details/128518581)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [【cmake】CMakeList添加库|添加头文件|添加路径|add_executable、add_library、target_link_libraries|添加...](https://blog.csdn.net/weixin_42319496/article/details/125940679)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文