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)
It is not possible to configure CMake to append that way.
Basically what I did was to write to individual files, append them in a separate step after compiling.
ninja has a concept with pools that prevents interleaving outputs, but there is no way to configure temporary files like this.