For scons:
----------

scons
or
scons --debug-build

clean up:

scons -c




For cmake:
----------

mkdir build

cd build

cmake -D CMAKE_BUILD_TYPE=Release ..

make VERBOSE=1

clean up:

make clean





