We use cmake as building environment. CMake is designed for out-of-source builds.
In the root directory of the project create a directory e.g. build and cd there. Type 'ccmake ..' and a text-interface will show up. Just press c for configure, edit any options you need (should not be necessary usually), c again to configure and at last g to create the Makefile. Then just type 'make'
If you want to have a debug build, edit the variable CMAKE_BUILD_TYPE pressing enter and type DEBUG, press enter again, then press c and g as usual.
|