Commit Graph

562 Commits

Author SHA1 Message Date
Ben Marsh
1cc0be0a06 Separate all the project specific settings for a platform into a separate class (derived from UEBuildPlatformContext), and remove the last few references to the global .uproject file path. Checks for SupportsWindowsXP() are now done inside the toolchain.
#codereview Peter.Sauerbrei

[CL 2711835 by Ben Marsh in Main branch]
2015-09-30 16:40:04 -04:00
Jeff Campeau
1388452b5b VS2015 now the default toolchain for Windows
Fallback to 2013 is automatic if 2015 is not installed or a platform SDK is detected that doesn't support the new IDE
Manual override is available via -2013
#platformnotify Josh.Adams

[CL 2709701 by Jeff Campeau in Main branch]
2015-09-29 13:17:32 -04:00
Ben Marsh
1adc540d76 Instance UEBuildPlatform for each supported platform so we don't have to keep passing an UnrealTargetPlatform back into it, and separate the SDK logic for each group of platforms into a separate class (UEBuildPlatformSDK). Add a new factory class (UEBuildPlatformFactory) for creating them and binding them together.
[CL 2709253 by Ben Marsh in Main branch]
2015-09-29 08:56:10 -04:00
Ben Marsh
d2b6205b1c Add 'Enabled as helper' setting to XGE telemetry.
[CL 2707717 by Ben Marsh in Main branch]
2015-09-28 10:54:54 -04:00
Ben Marsh
a3247a4c00 Send a telemetry event with the current machine's XGE settings.
#codereview Wes.Hunt

[CL 2707580 by Ben Marsh in Main branch]
2015-09-28 08:54:37 -04:00
Ben Marsh
cf74e40827 Delete the dependency cache file if it's corrupt or versioned incorrectly, and can't be read.
[CL 2707559 by Ben Marsh in Main branch]
2015-09-28 08:31:04 -04:00
Ben Marsh
a13190c7a7 Move setting for a target's preferred sub-platform into UEBuildConfiguration, rather than the target rules. Saves having to do hacky stuff like command line parsing from inside the build platform.
[CL 2707268 by Ben Marsh in Main branch]
2015-09-27 14:23:00 -04:00
Ben Marsh
fb458cad45 Remove IUEBuildPlatform; nothing is using it.
[CL 2707262 by Ben Marsh in Main branch]
2015-09-27 13:32:44 -04:00
Ben Marsh
1755061f18 Remove a reference to the global uproject file.
[CL 2707257 by Ben Marsh in Main branch]
2015-09-27 13:14:32 -04:00
Ben Marsh
0aa484bda0 Toolchains are now instanced to allow storing project and target specific configuration details. Required for UBT to support multiple targets. Removed IUEToolChain, which wasn't being used directly.
[CL 2707252 by Ben Marsh in Main branch]
2015-09-27 13:05:49 -04:00
Ben Marsh
57097692aa Change deployment context and project params to use file references rather than raw paths.
[CL 2707182 by Ben Marsh in Main branch]
2015-09-26 14:41:15 -04:00
Martin Mittring
6346400388 nicer comments
[CL 2706429 by Martin Mittring in Main branch]
2015-09-25 13:50:56 -04:00
Ben Marsh
385dcb4a3d Instance deployment handlers, rather than having a single shared instance. Required to support multiple build targets in UBT. Creation is through a method on the UEBuildPlatform.
[CL 2706031 by Ben Marsh in Main branch]
2015-09-25 08:37:49 -04:00
Ben Marsh
0723896cb2 Add telemetry event for the time taken to perform a build, including the number of compile actions, link actions, pch actions, and list of the targets.
#codereview Wes.Hunt

[CL 2704862 by Ben Marsh in Main branch]
2015-09-24 14:32:06 -04:00
Ben Marsh
2802f43c08 Convert everything in UBT to use standard C# XML comments, so IntelliSense can display useful information in tooltips.
[CL 2704759 by Ben Marsh in Main branch]
2015-09-24 13:47:13 -04:00
Ben Marsh
df83418aeb Auto-format UBT for consistent spacing. All default Visual Studio settings, but tabs instead of spaces.
[CL 2704665 by Ben Marsh in Main branch]
2015-09-24 12:37:21 -04:00
Lee Clark
7e82c793e5 Merging - cl# 2704196 - PS4 - Don't add PS4 c# projects if PS4 SDK is not installed
[CL 2704201 by Lee Clark in Main branch]
2015-09-24 08:16:36 -04:00
Ben Marsh
7428769139 Fix misplaced parenthesis
[CL 2704193 by Ben Marsh in Main branch]
2015-09-24 08:09:11 -04:00
Ben Marsh
5a0150033b Remove calls to UEToolChain.GetPlatformToolChain(). iOS and Mac deployment for remote tool chains is now done through UEToolChain.PostBuildSync() rather than UEBuildDeploy.PrepTargetForDeploy().
#codereview Peter.Sauerbrei

[CL 2704192 by Ben Marsh in Main branch]
2015-09-24 08:08:38 -04:00
Ben Marsh
e64d3e9c50 Remove "DO NOT MERGE THIS BACK TO MAIN" code.
[CL 2698791 by Ben Marsh in Main branch]
2015-09-21 08:08:29 -04:00
Dmitry Rekman
541e3806f7 UBT: Fix CodeLite generator.
[CL 2697021 by Dmitry Rekman in Main branch]
2015-09-18 10:47:05 -04:00
Ben Marsh
5a77694bbb Removing a bunch of static variables for the project file in UBT.
[CL 2695050 by Ben Marsh in Main branch]
2015-09-17 09:15:44 -04:00
Alexis Matte
55c741dcd3 #codereview ben.marsh , matthew.griffin , matt.kuhlenschmidt
jira: UE-20737
-Change the plugin editor template to prevent new plugin from crashing when doing a cook
-Fix UBT switch "-editorrecompile" to work as expected

[CL 2691817 by Alexis Matte in Main branch]
2015-09-15 11:39:18 -04:00
Wes Hunt
ff6fa460da UBT Telemetry re-enabled. Commented out most of the legacy events.
[CL 2690912 by Wes Hunt in Main branch]
2015-09-14 17:29:38 -04:00
Mike Fricker
c91ba91b6a [INTEGRATE] Unreal Build Tool: Improved adaptive unity build
- When bUseAdaptiveUnityBuild is enabled (experimental!), your first build after your working file set changes is now much faster
- UBT no longer invalidates other existing compiled unity blobs from the same module when ejecting source files

[CL 2687738 by Mike Fricker in Main branch]
2015-09-11 08:51:23 -04:00