Build Automation on CW 10.1.8

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

Build Automation on CW 10.1.8

Jump to solution
1,502 Views
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

Labels (1)
0 Kudos
1 Solution
618 Views
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

View solution in original post

0 Kudos
4 Replies
618 Views
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 Kudos
618 Views
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 Kudos
619 Views
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 Kudos
618 Views
kt3072
Contributor I

This is perfect. Thanks a lot for your help.

 

Regards,

 

Killian

0 Kudos