SFUMECJF / cmake-examples-Chinese

快速入门CMake,通过例程学习语法。在线阅读地址:https://sfumecjf.github.io/cmake-examples-Chinese/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

03-code-generation/configure-files/CMakeLists.txt 28行的某个错误

RuidongWu opened this issue · comments

03-code-generation/configure-files/CMakeLists.txt中
第28行
25 # include the directory with the new files
26 target_include_directories( cf_example
27 PUBLIC
28 ${CMAKE_BINARY_DIR}
29 )

是否应该更改为${PROJECT_BINARY_DIR}