Pre-build action with CodeWarrior 5.1 for HCS12(X)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Pre-build action with CodeWarrior 5.1 for HCS12(X)

437 Views
dreas
Contributor I

Is it possible to add a pre-build action when compiling with CodeWarrior 5.1 for HCS12(X)?

 

I have an external script that generates some of the source code that shall be compiled and I want to have this script executed automatically on every make request. In the target settings I find pre-link and post-link actions, but none for pre-build. How do I accomplish that?

Labels (1)
0 Kudos
1 Reply

242 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Andreas,

You use Classic version CW. Unfortunately we don't have a "pre-compiler tool".
The batchfileRunner can be laucnhed before or after the linker.
We don't have similar tool for compiler.

I recommend you to use the tool in batch file.
By this way you could do exactly what you want before to launch the compiler.


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos