Build Automation on CW 10.1.8

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

Build Automation on CW 10.1.8

跳至解决方案
1,742 次查看
kt3072
Contributor I

Hi,

 

I'm trying to automate the build of projects under Codewarrior 10.1.8 (StarCore). I have not been able to find a tcl build command yet, so I'm wondering how I could build a project by any other means or even with TCL, maybe I'm missing something.

 

The whole process has to be automated for a nightly build system, anything that requires interaction with a GUI is not usable for this task.

 

My other option seems to be setting up my own Makefiles, especially since the ones generated don't perform a clean properly when called from cmd.exe (I'm stuck with windows (commandline is too long)).

 

If you have any ideas on how to setup such a system or have at least answers to my questions above, I would be glad to receive your input.

 

Regards,

 

Killian

标签 (1)
0 项奖励
回复
1 解答
858 次查看
CrasyCat
Specialist III

Hello

 

As far as I know you should be able to use the option -config "MyConfig" to build the configuration MyConfig.

 

Here is the help from the ecd binary:

 

Eclipse Command Line Driver.Usage: -command optionsavailable commands:        -help        -generateMakefiles [-verbose] [-project path [-config name | -allConfigs]]        -build [-verbose] [-cleanAll] [-project path [-config name | -allConfigs] -cleanBuild]

 

CrasyCat

在原帖中查看解决方案

0 项奖励
回复
4 回复数
858 次查看
CrasyCat
Specialist III

Hello

 

There is a tool called ecd that can be used to perform automated build.

 

Please look at {Install}\SC\Help\PDF\Freescale Eclipse Extensions Guide.pdf, chapter Debugger section Automated Builds for more information.

 

CrasyCat

0 项奖励
回复
858 次查看
kt3072
Contributor I

This is great! It does pretty much what I want. Do you see any chance of setting the Build Configuration before the call to ecd (other than from the IDE) or as command line parameter?

 

Regards,

 

Killian

0 项奖励
回复
859 次查看
CrasyCat
Specialist III

Hello

 

As far as I know you should be able to use the option -config "MyConfig" to build the configuration MyConfig.

 

Here is the help from the ecd binary:

 

Eclipse Command Line Driver.Usage: -command optionsavailable commands:        -help        -generateMakefiles [-verbose] [-project path [-config name | -allConfigs]]        -build [-verbose] [-cleanAll] [-project path [-config name | -allConfigs] -cleanBuild]

 

CrasyCat

0 项奖励
回复
858 次查看
kt3072
Contributor I

This is perfect. Thanks a lot for your help.

 

Regards,

 

Killian

0 项奖励
回复