preserve set values for CMAKE_CXX_FLAGS
Added sample cmake commands to set flags add source file level.