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
Ben Marsh
a1bfbcd0d5
Split the ModifyModuleRules() method into two parts; one which is called only for the active platform (ModifyModuleRulesForActivePlatform), and one which is called on all platforms for a host platform (ModifyModuleRulesForOtherPlatform).
...
[CL 2709436 by Ben Marsh in Main branch]
2015-09-29 10:44:49 -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
Ori Cohen
ac600eb220
Added the ability to use CHECKED physix libs. Binaries pending
...
[CL 2707831 by Ori Cohen in Main branch]
2015-09-28 11:47:42 -04:00
Ben Marsh
291c6dd533
Merge UEBuildPlatform.GetExtraModules() and UEBuildPlatform.SetupBinaries(), because they were being used for the same purpose.
...
[CL 2707277 by Ben Marsh in Main branch]
2015-09-27 14:50:58 -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
b02ae25951
Pass the compile and link environment directly to UEBuildPlatform.SetupConfigurationEnvironment(), it breaks encapsulation to pass the target directly.
...
[CL 2707265 by Ben Marsh in Main branch]
2015-09-27 13:47:35 -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
b2acdadf67
Remove unnecessary UEBuildTarget parameter being passed to build platforms.
...
[CL 2707256 by Ben Marsh in Main branch]
2015-09-27 13:10:21 -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
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
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
Jamie Dale
1321916545
Made the Localise automation script more data driven, and removed some hard-coded assumptions
...
The Localise automation script processing was failing as we have acquired the "zh-Hans-CN" culture in our OneSky project, but the UE4 commandlet doesn't generate that culture, only "zh-CN". This was causing the script to fail as it couldn't find the data for that culture in Perforce.
This change has the Localise automation script read the same config file that the UE4 commandlet will use, and then use that config file data to work out what cultures it will export/upload to OneSky.
This change should also make the script generic enough for it to be used for other projects (once we can pass in the arguments on the command line).
[CL 2704649 by Jamie Dale in Main branch]
2015-09-24 12:25:10 -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
Peter Sauerbrei
1c13d7d910
Addition of mobile provision selection
...
no error messaging as of yet when selecting something which then expires
[CL 2697295 by Peter Sauerbrei in Main branch]
2015-09-18 13:42:25 -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
Ben Marsh
abe8c13ef6
Fix modules being incompatible after being compiled on editor startup; build ID was being set to a new value, but the editor had already read it.
...
[CL 2692431 by Ben Marsh in Main branch]
2015-09-15 17:06:03 -04:00
Peter Sauerbrei
e2e7e2edb6
missed some ini sections that need to be loaded
...
[CL 2692430 by Peter Sauerbrei in Main branch]
2015-09-15 17:05:07 -04:00
Peter Sauerbrei
e706287759
Speed up reading and accessing ini files from UAT/UBT
...
#uat
#ubt
#codereview ben.marsh, wes.hunt
[CL 2691637 by Peter Sauerbrei in Main branch]
2015-09-15 09:29:42 -04:00
Ben Marsh
01b1901137
Cache checks for whether a module has source files.
...
[CL 2684672 by Ben Marsh in Main branch]
2015-09-09 10:47:39 -04:00
Ben Marsh
b3dddeb541
Cache the name of the API define for each module and the relative path to its base directory, to avoid calculating them each time.
...
[CL 2683585 by Ben Marsh in Main branch]
2015-09-08 15:50:24 -04:00
Ben Marsh
ca0012cbeb
Cache the list of libraries to link dependencies with rather than recalculating every time.
...
[CL 2682888 by Ben Marsh in Main branch]
2015-09-08 08:00:41 -04:00
Ben Marsh
404e121531
Store the list of valid plugins on the rules assembly, and allow looking up the plugin info for a module without having to scan the whole list.
...
[CL 2682885 by Ben Marsh in Main branch]
2015-09-08 07:59:23 -04:00
Ben Marsh
cbca80c79b
Don't create receipts when generating project files; they aren't needed.
...
[CL 2681977 by Ben Marsh in Main branch]
2015-09-06 12:50:15 -04:00