Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

XML Profiles

...

locationtop

XML Profile Location

The ib_profile.xml file is located in the IncrediBuild installation folder at the following path: /opt/incredibuild/data/ib_profile.xml

...

  • Project directory ($PWD/ib_profile.xml) - This file is in the working directory of the project being built. It will only be used when running a build from this directory.
  • Home directory ($HOME/.ib/ib_profile.xml) - This file is in the home directory of the user. It will be used by every build that is run by the user.
  • Machine directory (/etc/default/ib_profile.xml) - This file will be used in every build that is running on this machine.

If there are multiple instances of the profile configuration that include different configurations, IncrediBuild will use the configuration of the most specific location. For example, it will give preference to the configuration of the project directory over the ones in the home or machine directories. 

Custom Profile Configuration

To edit the profile configuration file:

  1. Locate the default profile configuration file - /opt/incredibuild/data/ib_profile.xml.
  2. Copy the file and paste it on one or more of the locations described above (e.g. project directory, home directory, etc…).
  3. Add the names of the tasks/processes that should be handled locally only (local_only), distributed remotely (allow_remote) and intercepted (Intercepted) followed by the relevant attribute.

Examples

Local only example:
<processes>
<process filename="mylinker"           type="local_only" />
</processes>

...

width15

...

alignleft

Custom Build Executions

Child pages (Children Display)
styleh4
pageCustomizing Build Executions and Adding Custom Tools Using the ib_profile.xml File

IncrediBuild for Linux Guide:

...

Image Added