cmake编译报错 undefined reference to `xxx' 错误信息:F:/github/Demos/br_cmake_proj/Demos/CmakeProject2/main.cpp:11: undefined reference to `Module1A::Module1A()' 代码目录结构 相关代码片段 错误根因:模块.cmake中对SOURCES误加$符。正确写法为list(APPEND SOURCES ${CMAKE_CURRENT_LIST_DIR}/Modul...