This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

passing parameters to post build program

Hello,

is it possible to pass a #define to a progam started after build/rebuild.

At the moment I call this program in targetoptions - User - After Build/Rebuild:

QBin2Prf.exe ".\files\objTS\ts.bin" 1 8

It would be helpful to replace the 1 and the 8 by a define which is already defined in my source.

#define USR_K_NODENUMBER (1)
#define USR_K_TYPENUMBER (8)

Unfortunately I did not find a way to pass these defines to teh command line :-(

Parents
  • On the other hand, you can specify a script (powershell, python...) as the command, and pass the MDK project file to it.
    So it would fish the needed defines out of the project and run the tool.

    -- pa

Reply
  • On the other hand, you can specify a script (powershell, python...) as the command, and pass the MDK project file to it.
    So it would fish the needed defines out of the project and run the tool.

    -- pa

Children
No data