UseEcos: Append C and CXX flags instead of overwriting them
I was learning how to set CMAKE_C_FLAGS in different configurations, including cross-compiling toolchains, when I noticed some odd code in the UseEcos module. I'm not 100% sure about change, but maybe you could review this. Thanks. Feel free to throw out it :)
(from github https://github.com/Kitware/CMake/pull/324) I did not use string(APPEND) here because there are many places with set(CMAKE_C_FLAGS) in the code. But I'll keep in mind :)
Topic-rename: UseEcos-append-flags
Edited by Brad King