Files
UnrealEngineUWP/Engine/Source/Programs/AutomationTool/AutomationUtils/AutomationUtils.Automation.csproj
Wes Hunt 7fa290bb33 Summary: running UAT from VS is simpler and faster.
UEB-261 - Ensure that compiling AutomationTool in VS will compile all other Automation Projects
* Just set AutomationTool as your startup project and pass the command to execute.
* VS will build the script modules at build time, instead of every time at runtime.
* To make this happen, "UBT.exe -ProjectFiles" now generates a companion AutomationTool.csproj.References that make AutomationTool depend on all Automation modules.
* AutomationTool.exe defaults to not building script modules at runtime. Pass -compile if you want to dynamically build them.
* Without the .references file, AutomationTool will only build itself and you will need to pass -compile.
* RunUAT.bat still works that same, defaulting to runtime compilation and supporting -nocompile flag. It then passes -compile (or nothing) to AutomationTool.

Other
* All Automation projects target .Net 4.5. Some already were and had hard dependencies on them (Rocket and SyncGithub -> Octokit). Now that AutomationTool directly depends on them, everything had to use .Net 4.5.
* Decoupled logic for -NoCompile and -NoCompileEditor. The flags are still confusing, but -NoCompile is no longer linked to -NoCompileEditor.
* Had to leave in stub support in UAT for -NoCompile else RunUAT.bat passes it along and UAT complains that it doesn't understand it.
* Added a CommandUtils.Run option to support run command, but still output the run duration.
* Reduced the verbosity when UAT.proj is run from dozens of lines per module to a single Module -> Output line. It was looking like there were problems, but it was just msbuild spew.
#codereview:ben.marsh

[CL 2615060 by Wes Hunt in Main branch]
2015-07-09 10:15:37 -04:00

100 lines
4.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{2C96A7F2-B1A3-4258-8E0A-E588FF41A53E}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>AutomationUtils.Automation</RootNamespace>
<AssemblyName>AutomationUtils.Automation</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\..\Binaries\DotNET\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>AnyCPU</PlatformTarget>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Development|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\..\..\Binaries\DotNET\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>AnyCPU</PlatformTarget>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<Reference Include="Ionic.Zip.Reduced">
<HintPath>..\..\..\..\Binaries\DotNET\Ionic.Zip.Reduced.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Management" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Web" />
<Reference Include="System.Web.Extensions" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Automation.cs" />
<Compile Include="AutomationExpection.cs" />
<Compile Include="BuildCommand.cs" />
<Compile Include="BuildEnvironment.cs" />
<Compile Include="BuildUtils.cs" />
<Compile Include="CommandletUtils.cs" />
<Compile Include="CommandUtils.cs" />
<Compile Include="DeploymentContext.cs" />
<Compile Include="Distiller.cs" />
<Compile Include="FileFilter.cs" />
<Compile Include="HelpUtils.cs" />
<Compile Include="HostPlatform.cs" />
<Compile Include="LinuxHostPlatform.cs" />
<Compile Include="LocalBuildEnvironment.cs" />
<Compile Include="LocalP4Environment.cs" />
<Compile Include="Log.cs" />
<Compile Include="MacHostPlatform.cs" />
<Compile Include="MCPPublic.cs" />
<Compile Include="P4Blame.cs" />
<Compile Include="P4Environment.cs" />
<Compile Include="P4Utils.cs" />
<Compile Include="Platform.cs" />
<Compile Include="ProcessUtils.cs" />
<Compile Include="ProjectParams.cs" />
<Compile Include="ProjectUtils.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ScriptCompiler.cs" />
<Compile Include="UBTUtils.cs" />
<Compile Include="UE4Build.cs" />
<Compile Include="Utils.cs" />
<Compile Include="WatchdogTimer.cs" />
<Compile Include="WindowsHostPlatform.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\DotNETCommon\DotNETUtilities\DotNETUtilities.csproj">
<Project>{5d7d66e8-8c76-4af9-b3ec-2ef03421d730}</Project>
<Name>DotNETUtilities</Name>
<Private>False</Private>
</ProjectReference>
<ProjectReference Include="..\..\UnrealBuildTool\UnrealBuildTool.csproj">
<Project>{fd7c5e1a-cfe4-4fd5-a525-1eb1599a39ac}</Project>
<Name>UnrealBuildTool</Name>
<Private>False</Private>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>