CW08 5.1 - Running SubWCRev during build

cancel
Showing results for 
Search instead for 
Did you mean: 

CW08 5.1 - Running SubWCRev during build

Jump to solution
1,158 Views
Contributor I
Hi-
I want to set up my current project so Codewarrior will run SubWCRev before each build (to include version info in my source files). Is there a fairly easy way of doing this? Thanks
 
--
Alban Edit: Added CW core and version in message subject.

Message Edited by Alban on 2007-03-26 09:28 PM

Labels (1)
Tags (1)
0 Kudos
1 Solution
49 Views
Specialist III
Hello
 
There is no easy way to execute a specified batch file (executable) prior to building from the IDE.
You will have to start the executable manually before building.
 
Alternatively you can decide to build using a make file instead of using the IDE for building.
Inside of a make file the target BEFORE is executed prior to the build.
 
CrasyCat

View solution in original post

0 Kudos
3 Replies
49 Views
Senior Contributor II
Hello Chris and welcome,
 
You must have missed the discreet message put at the top and in capitals. I invite you to read it:

Following the simple rules will allow the question to be considered by others and quicker replies. Answers are not necessarily the same on each core.

Regards, Alban.

--
Edit: link colour to scheme
Message Edited by Alban on 2007-03-26 08:18 PM
--
Alban Edit: Added CW core and version in message subject.

Message Edited by Alban on 2007-03-26 09:29 PM

49 Views
Contributor I
My mistake-all development is being done in Codewarrior for Freescale HC08 V5.1. Target is an HCS08 core (using an MC9S08GB60A to be exact).
 
--
Alban Edit: Added CW core and version in message subject.

Message Edited by Alban on 2007-03-26 09:30 PM

0 Kudos
50 Views
Specialist III
Hello
 
There is no easy way to execute a specified batch file (executable) prior to building from the IDE.
You will have to start the executable manually before building.
 
Alternatively you can decide to build using a make file instead of using the IDE for building.
Inside of a make file the target BEFORE is executed prior to the build.
 
CrasyCat

View solution in original post

0 Kudos