CW08 5.1 - Running SubWCRev during build

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

CW08 5.1 - Running SubWCRev during build

跳至解决方案
3,007 次查看
ChrisL
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

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,898 次查看
CrasyCat
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

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,898 次查看
Alban
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

1,898 次查看
ChrisL
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 项奖励
回复
1,899 次查看
CrasyCat
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
0 项奖励
回复