I have the following content in my CMakeLists.txt:
project( Matfile ) SET ( CMAKE_CXX_FLAGS \"-std=c++0x\" ) set ( SOURCES \"foo.cpp\" \"bar.cp
checkout the ucm_add_flags and ucm_print_flags macros of ucm - to add compiler flags to the appropriate cmake variables and to inspect the results