BlurryLight / BlurryLight_blog

1 stars 1 forks source link

建立简单的带单元测试的CMake项目 | Blurred code #4

Open utterances-bot opened 3 years ago

utterances-bot commented 3 years ago

建立简单的带单元测试的CMake项目 | Blurred code

https://www.blurredcode.com/2019/03/452/

RocGwei commented 3 years ago

主目录里的 CMakeLists.txt 中 aux_source_directory(${CMAKE_SOURCE_DIR}/src ${proj_src}) 这里的 ${proj_src} 好像要改成 proj_src 否则在 Clion 里会报错

aux_source_directory called with incorrect number of arguments
BlurryLight commented 3 years ago

@roc-gui fixed.

RocGwei commented 3 years ago

OK