nasa / fprime-tools

F´ Python tooling and helpers.
https://github.com/nasa/fprime
Apache License 2.0
20 stars 38 forks source link

Always print output when refreshing cache #177

Closed thomas-bc closed 10 months ago

thomas-bc commented 10 months ago
Related Issue(s) https://github.com/nasa/fprime/issues/1992

Change Description

Fix https://github.com/nasa/fprime/issues/1992

When cmake_refresh_cache() is triggered, always print the cmake regeneration output.

Rationale

Comment

This has the side effect of also printing the Built target noop to the screen... which I don't really like. I've been looking in other ways to do this, but was unsuccessful. A fix could be to go in the CMakeHandler._communicate and explicitly skip lines that equal Built target noop\n, but that sounds rather ugly... Do you have any suggestion?

LeStarch commented 10 months ago

We could rename the target to "refresh".