The usual way: cmake . The clean way: mkdir build cd build cmake .. This is to keep the build separate and maintain a clean source directory.
ccmake is a convenience for us, as well as cmake-gui.