我正在尝试在使用 cmake 进行构建的中等大型项目上使用夹板。项目包含数百个分散在大型目录结构中的源文件。我没有找到任何关于将夹板与 cmake 一起使用的信息。
目录结构就像
|-- CMakeLists.txt
|-- dir1
|-- CMakeLists.txt
|-- src
'-- file1.c
|-- include
'-- file1.h
|-- dir2
|-- CMakeLists.txt
|-- src
'-- file2.c
|-- include
'-- file2.h
谢谢。