Menu

#1254 Pre/Post step in compiler definition

Undefined
open
nobody
None
Feature_Request
2022-04-11
2022-04-10
Yann LEROY
No

Hello,

Could it be possible to be able to setup pre/post steps in the Compiler definition, rather that having to duplicate those in each project that use this compiler ?
Use case : I'm using a cross-compiler, and I need to use additional command to upload to the target board. Those lines have currently to be copy/paste in each on my projects using this cross compiler.

Did I missed anything ?

Thanks !

PS: I'm using "Release 20.03 rev 11997 (2020-03-28 13:56:24) gcc 9.3.0 Linux/unicode - 64 bit "

Discussion

  • bluehazzard

    bluehazzard - 2022-04-10

    No there are no global post build steps.... But you could create a tool (tool++) and run it by hand,
    or you create a project template where the options are already filled out

     
  • Yann LEROY

    Yann LEROY - 2022-04-11

    Yes, tool is an option, but I wish I could avoid adding another step on my build process, to keep it as simple as possible :)
    The template is also an option, the issue is that is still end up duplicating the data, and if I want to modify the pre/post step (because I want to improve it or fix it), I should modify it in all the project that use it, instead of simply inheriting that for the compiler... This is what I'm currently doing, but that error prone...

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.