Can the IAR command line tool "iarbuild" build?

It is easy to create a specific configuration from the IAR command line, and obviously, if I want to emulate the "built-in" behavior, I just run my own batch file with the required configurations.

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

Using Jenkins, for example, if a developer adds a configuration to the IAR IDE, it will not be included in the build until the Jenkins scripts are manually updated. I just want Jenkins to create all the configs without caring what they are called. The IAR GUI for batch setting has the ability to rebuild everything so that something is somewhere. Thank!

+3


source to share


2 answers


You can specify *

as a config name to create everything, for example:



c:\> iarbuild myproject.ewp -build *

      

0


source


One solution I implemented many years ago for this problem is to read the configuration names from the .ewp file and use them to build.



Eve's relationship

0


source







All Articles