Search code examples
batch-filejenkinsiar

Can the IAR command line tool "iarbuild" do a build all?


From the IAR command line, it's easy to build a particular configuration, and obviously, if I want to mimic the "build all" behavior I just run my own batch file with the configs I want.

How do I handle the case where I want to build all configs, but I don't know in advance what configurations are available?

Using Jenkins, for instance, if a developer adds a configuration in the IAR IDE, it won't be included in a build until the Jenkins scripts are manually updated. I just want Jenkins to build all the configurations without caring what they are called. In the IAR GUI for setting up batches, there is an option to rebuild all so there must be something somewhere. Thanks!


Solution

  • You can specify * as configuration name to build everything, like this:

    c:\> iarbuild myproject.ewp -build *