This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

armcc and appending to log with '--errors' for CMake

armcc, armasm, armlink etc has command line option "--errors=file" to redirect diagnostic output messages to a file instead of stdout.

This always overwrites the logfile.

Other compilers have the possibility to append to logfiles.

We are using CMake to build also for other platforms and have no simple way to redirect stdout or have unique lognames for that matter.

Compile warnings etc are therefor printed to the console, mixed with license messages and progress.

We need to parse the compile output as some supplier source cannot be changed (and setting up CMake to set special options for certain files is a complicated solution).

Any solution to append to the logfile?

/Gerhard

ARM DS-5 5.14 (ARM compiler 5.03)