#!/bin/sh export BUILD_TYPE=Debug cmake -E make_directory build cmake -E chdir build cmake -DCMAKE_C_COMPILER=/opt/tools/gcc/4.7.2/rtf/bin/gcc -DCMAKE_CXX_COMPILER=/opt/tools/gcc/4.7.2/rtf/bin/g++ -DCMAKE_BUILD_TYPE=Debug .. cmake --build build make -C build install VERBOSE=1