We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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 :-(
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