IncrediBuild Build Configuration
You can specify build steps and clean steps for IncrediBuild.
For more information about configuring IncrediBuild, see Setting Up IncrediBuild.
IncrediBuild Build Steps
To use IncrediBuild, select Add Build Step > IncrediBuild for Linux or IncrediBuild for Windows.
IncrediBuild automatically detects the build step by iterating over the build steps you already defined. The initial build step settings will be part of your IncrediBuild build step, so your usual build tool will still be used, but with the added benefit of IncrediBuild's build acceleration and graphical Build Monitor.
In the Target and configuration group, specify the command helper and arguments that will be used to construct the build command.
The build errors and warnings are parsed and displayed in Issues.
Select the Keep original jobs number check box to stop IncrediBuild from overriding the -j
command line switch, which controls the number of processes that the build tools executed by Qt Creator run in parallel. The default value set by IncrediBuild is 200.
The distribution control settings to specify depend on whether you are using Linux or Windows.
Distribution Control Settings on Linux
You can specify the following settings for Linux builds:
- Nice value is a numeric value between -20 and 19
- Force remote forces
allow_remote
tasks to remote Helpers. - Alternate tasks preference
Distribution Control Settings on Windows
You can specify the following settings for Windows builds:
- Profile.xml defines how Automatic Interception Interface handles processes in a distributed job. It is not necessary for Visual Studio or Make and Build tools builds, but can be used to add configuration options if those builds use processes that are not included in those packages. It is required to configure distributable processes in Dev Tools builds.
- Avoid local task execution frees up resources on the initiator machine. This might be beneficial for distribution if the initiator turns into a bottleneck for the build because of high CPU usage.
- Maximum CPUs to utilize in the build specifies the maximum amount of remote cores to use in the build. Overrides the corresponding global setting.
- Newest allowed helper machine OS and Oldest allowed helper machine OS specify the newest and oldest operating system installed on a Helper machine to be allowed to participate as a Helper in the build.
- Build title specifies a custom header line which will be displayed in the beginning of the build output text. This title will also be used for the Build History and Build Monitor displays.
- Save IncrediBuild monitor file writes a copy of the build progress (
.ib_mon
) file to the specified location. If only a folder name is given, IncrediBuild generates a GUID for the file name. A message that has the location of the saved.ib_mon
file is added to the end of the build output. - Suppress STDOUT does not write anything to the standard output.
- Output Log file writes build output to a file.
- Show Commands in output shows the command-line used by IncrediBuild to build the file.
- Show Agents in output shows the Agent used to build each file.
- Show Time in output shows the start and finish time for each file built.
- Hide IncrediBuild Header in output suppresses the IncrediBuild header in the build output.
- Internal IncrediBuild logging level overrides the internal Incredibuild logging level for this build. Does not affect output or any user accessible logging. Used mainly to troubleshoot issues with the help of IncrediBuild support.
- Set an Environment Variable sets or overrides environment variables for the context of the build.
- Stop on errors stops the execution as soon as an error is encountered. This is the default behavior in Visual Studio builds, but not for Make and Build tools or Dev Tools builds.
- Additional Arguments are concatenated to the final build console command line.
- Open Build Monitor opens an IncrediBuild Build Monitor that graphically displays the build's progress once the build starts.
IncrediBuild Clean Steps
When building with IncrediBuild, you can add arguments and targets for the clean command in Clean Steps. For more information, see Clean Steps.
For more information about the settings, see IncrediBuild Build Steps.
The build errors and warnings are parsed and displayed in Issues.
© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.