cmake eclipse
How to Import a CMake project into Eclipse CDT?
For example, the current CMake project source directory is ./src
.
例如,当前的CMake 项目源目录是./src
。
mkdir ./cdt && cd ./cdt &&
cmake -G "Eclipse CDT4 - Unix Makefiles" ../src
cmake will generate a Eclipse project in ./cdt
and you can open it in Eclipse.
cmake将在./cdt
生成一个Eclipse项目,您可以在Eclipse中打开它。
Answered by Eric Z Ma.
埃里克·马(Eric Z Ma)回答。
翻译自: https://www.systutorials.com/how-to-import-a-cmake-project-into-eclipse-cdt/
cmake eclipse