cmake 命令
最近在编写 cmake 现在把if 命令遇到的问题总到这里1、if(NOT TARGET XX)官方文档if(TARGET target-name)True if the given name is an existing logical target name such as those created by the add_executable(), add_library(), or add_custom_target() commands.判断 target-name 是否存在。 tar
原创
2022-05-10 17:02:11 ·
1429 阅读 ·
0 评论