Linux Editor Problem

You can using netbeans too. But I recomended codeblocks.

Using following command for generating codeblocks project.
cmake -DCMAKE_BUILD_TYPE=Debug …/ -G “CodeBlocks - Unix Makefiles”

This thread for using codeblocks link.