Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 cmake 生成 Makefile。
给定一个 Cpp 文件,我想知道是否可以直接或间接地获取依赖于该文件的 Makefile(或 CMakeLists.txt 文件)中的目标列表。有可能吗?如果有,怎么做?