标签: c++ cmake
假设我有一个这样的项目目录:
ProjA build source file1.h file1.cpp (#includes file2.h) ProjB build source file2.h file2.cpp
如何告诉CMakeLists.txt中的add_executable()添加file2.h?
add_executable()
file2.h?