27 lines
1.5 KiB
XML
27 lines
1.5 KiB
XML
<?xml version='1.0' ?>
|
|
<BuildGraph xmlns="http://www.epicgames.com/BuildGraph" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.epicgames.com/BuildGraph ../Schema.xsd" >
|
|
|
|
<!--
|
|
This script defines some common properties based on arguments like preflight and project name.
|
|
|
|
InProperty: Change - Change we are building against
|
|
InProperty: PreflightChange - CL of the change being preflighted
|
|
InProperty: SetPreflightFlag - Mark this job as a preflight
|
|
InProperty: ProjectName - Name of the project
|
|
-->
|
|
|
|
<Option Name="PreflightChange" DefaultValue="" Description="Preflight CL number if preflight, empty otherwise"/>
|
|
<Option Name="SetPreflightFlag" DefaultValue="true" Description="Whether to set the IsPreflight flag to true for preflights. Use with caution: this will cause things like build versions to be set to their non-preflight form."/>
|
|
|
|
<Property Name="IsPreflight" Value="false"/>
|
|
<Property Name="IsPreflight" Value="true" If="'$(PreflightChange)' != '' And $(SetPreflightFlag)"/>
|
|
<Property Name="PreflightSuffix" Value=""/>
|
|
<Property Name="PreflightSuffix" Value="-PF-$(PreflightChange)-$(UE_HORDE_JOBID:-6)" If="$(IsPreflight)"/>
|
|
<Property Name="CL-String" Value="CL-$(Change)$(PreflightSuffix)"/>
|
|
<Property Name="BuildNamePath" Value="$(ProjectName)-$(CL-String)"/>
|
|
<Option Name="BuildVersion" DefaultValue="$(ProjectName)-CL-$(Change)" Description="Value to set as BuildVersion during compilation"/>
|
|
|
|
<Include Script="SharedProperties.xml" />
|
|
|
|
</BuildGraph>
|