其他分享
首页 > 其他分享> > add_subdirectory命令

add_subdirectory命令

作者:互联网

CMake Error at CMakeLists.txt:19 (add_subdirectory):
  The source directory

    /home/public/testProj/cmakeTest1/MathFunctions

  does not contain a CMakeLists.txt file.


-- Configuring incomplete, errors occurred!

说明 add_subdirectory是会查找子目录的CMakeLists.txt文件的
cmake手册中的add_subdirectory命令解释

标签:CMakeLists,subdirectory,命令,add,file,txt
来源: https://blog.csdn.net/weixin_49867936/article/details/113779113