在学习cmake的时候,报此错误,是应为,我再ADD_EXECUTABLE(app xxx.hpp)的错误,应该是.cpp或者.c,没有源文件,会报错。
CMake Error: CMake can not determine linker language for target
最新推荐文章于 2025-03-06 16:17:55 发布
在学习cmake的时候,报此错误,是应为,我再ADD_EXECUTABLE(app xxx.hpp)的错误,应该是.cpp或者.c,没有源文件,会报错。