QtCreator (4.11 and 4.12beta) & CMake: redirect "compile output" to file
-
I want to post-process the information coming from CMake (namely how many files were touched and how much time it took) for some statistics.
I am currently copy&pasting after each build that information from the "Compile output"-tab to some text-file.I found neither in the Options (Tools > Options > Build & Run) nor 'google' a way to redirect that output (or maybe just copy it).
Any ideas and hints? Thank you in advance.
-
Hi @marcelpetrick,
Afaik, there is currently no such possibility (though you have Tools > Parse Build Output, at least in Creator 4.12).
So would a button "Save pane contents as..." already solve your problem?
Or do you think of something else?
Regards
-
@aha_1980 Something like the Unix 'tee' would be great. I still want to have the regular output in that panel. But additional redirection to a file would be great. (see: https://stackoverflow.com/a/418899/1694302 )
If both options at the same time are not possible, then at least a way to redirect to file. Then I could add a post-processing step as build-step in QtCreator and handle that file's content. -
Then you should file a suggestion at bugreports.qt.io/QTCREATORBUG (and add a link to the report here).
Regards