Running autocoders in generate step #2220
Replies: 2 comments 2 replies
-
It would be possible. It does move time into the That being said, another option could be to add a |
Beta Was this translation helpful? Give feedback.
-
There is a technical problem thats not well aligned with the normal cmake development workflow expectations. Normally, the user would expect to be able to generate once and then build many times, hence the focus on speedup in that area. The leads the developer to expect:
Unfortunately the autocoded targets are [or at least used to be] very difficult to detect rebuild needs. Thus, changing things that require them to be rebuild leads to broken builds, which is highly confusing. That ultimately leads to regenerating the project, an undesireable workflow, but the currently recommended workflow for F Prime projects. Personally, if there was a manual flag that could be set to re-build all the autocoded stuff, that would be a suitable workaround to minimize the re-compilation and re-generation requirements, but it does mean that the original request is not fully satisfied. You would still need to build once to get the autocoded headers importable by your IDE. |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to run the autocoders in the
generate
, rather thanbuild
step? I very often find myself purging my build directory, but then have to build my deployment - several minutes - in order to be able to find inherited methods in my editor.Beta Was this translation helpful? Give feedback.
All reactions