How to Import a CMake project into Eclipse CDT?
For example, the current CMake project source directory is ./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.