Terence Burns
63c1a0243f
Architecture added to manifest receipt name.
...
Should now match binary output name.
#CodeReview Ben.Marsh
#lockdown Zachary.EdgertonJones
[CL 2503917 by Terence Burns in Main branch]
2015-04-07 11:45:09 -04:00
Ben Marsh
0488555a9b
Submit build receipts to P4 as part of promotions.
...
[CL 2502143 by Ben Marsh in Main branch]
2015-04-04 16:40:58 -04:00
Ben Marsh
c3a2d1dec0
Add more generic support for variable expansion in build receipts.
...
[CL 2502120 by Ben Marsh in Main branch]
2015-04-04 15:21:13 -04:00
Ben Marsh
08bdf448ac
Missing file.
...
[CL 2501119 by Ben Marsh in Main branch]
2015-04-03 10:35:54 -04:00
Ben Marsh
3a7e022d4c
Generate build receipts from UBT, which keep a record of all the files written for a target and records any metadata needed to stage or deploy it.
...
[CL 2501101 by Ben Marsh in Main branch]
2015-04-03 10:25:57 -04:00
Ben Marsh
0de65e95bd
Deprecate bBuildAdditionalConsoleApplication from LinkEnvironment, and move it to UEBuildBinaryConfiguration instead - it's not actually used by anything that does linking; it's a higher level behavior. The default is now false, which mirrors the only use case we had for it (and removes a hack for checking UEBuildConfiguration.bBuildEditor).
...
[CL 2499917 by Ben Marsh in Main branch]
2015-04-02 11:09:01 -04:00
Ben Marsh
2cd2b93f35
Eliminate SpecialRocketLibFilesThatAreBuildProducts - everything that gets precompiled into static libs is now a normal UBT binary; we don't need to special case anything.
...
[CL 2499800 by Ben Marsh in Main branch]
2015-04-02 09:47:39 -04:00
Matthew Griffin
64b0c7e716
Changed Distribution level checking so that it is not performed if you have a uproject.
...
Removed use of bOutputPubliclyDistributable from all targets that no longer need it.
[CL 2495552 by Matthew Griffin in Main branch]
2015-03-30 09:09:24 -04:00
Ben Marsh
0116941f19
Shorten the -precompilemodules argument to -precompile, and -useprecompiledmodules to -useprecompiled.
...
[CL 2493651 by Ben Marsh in Main branch]
2015-03-27 09:13:06 -04:00
Matthew Griffin
6de5ee48a4
Added checks on distribution level for modules and the direct dependencies of binaries
...
Changed Module Manager so that it adds restricted directories to modified PATH if they exist, removed unnecessary recursive use of FindModulePathsInDirectory
Updated setup of any projects that were flagged up using this system
Added old locations of restricted output to junk manifest
Added Util function to get min/max of IComparable types (used for enums)
[CL 2493565 by Matthew Griffin in Main branch]
2015-03-27 07:15:32 -04:00
Ben Marsh
e4a4e6c25b
Prevent trying to precompile plugins for platforms that are not available.
...
[CL 2487224 by Ben Marsh in Main branch]
2015-03-21 14:56:37 -04:00
Ben Marsh
adfde6fb16
Remove some UBT abuses of the "ref" keyword.
...
[CL 2487191 by Ben Marsh in Main branch]
2015-03-21 11:34:08 -04:00
Ben Marsh
c4c411f61d
Removing last few calls to BuildingRocket()!
...
* Import libraries are added to the build manifest whenever precompiling modules
* UHT now just generates headers to the project directory, and headers aren't included in the engine distribution. UHT was generating them anyway, just not writing them.
* Plugins binaries now just use UE4Game prefix in Rocket (since that's where they're built from), rather than using a special name.
* Platform-specific plugins are not explicitly excluded from builds - will be stripped out by directory instead
* XMPP is not manually excluded from Rocket builds.
* Removed BuildingRocket() function.
[CL 2487163 by Ben Marsh in Main branch]
2015-03-21 07:58:39 -04:00
Ben Marsh
29f96f6a4d
Build all plugins for a target when we're precompiling modules.
...
[CL 2486680 by Ben Marsh in Main branch]
2015-03-20 16:09:08 -04:00
Ben Marsh
442988e642
Add support for precompiling modules separately to the -BuildRocket argument. Targets can specify modules which can be precompiled by overriding the GetModulesToPrecompile() function in their target rules. Running UBT with the -PrecompileModules argument will generate them in the form of static libraries for monolithic builds, or extra DLLs for non-monolithic builds, and running UBT with the -UsePrecompiledModules argument will use them.
...
[CL 2485993 by Ben Marsh in Main branch]
2015-03-20 08:25:23 -04:00
Ben Marsh
e5488e0121
Remove BuildingRocket() special case. UE4Editor does not need to override global environment for Rocket any more.
...
[CL 2484358 by Ben Marsh in Main branch]
2015-03-19 09:19:36 -04:00
Mikolaj Sieluzycki
5dd319203e
Fix linker errors on non-monolithic shipping builds.
...
[CL 2478401 by Mikolaj Sieluzycki in Main branch]
2015-03-13 06:29:19 -04:00
Ben Marsh
bdc31fdec8
Create targets using the TargetDescriptor, rather than separating the fields out and passing them all to constructors individually. Makes it easier to extend, and is an awful lot easier to read. Also change the target's GameName field to TargetName, which is what everything seems to actually require.
...
[CL 2477318 by Ben Marsh in Main branch]
2015-03-12 15:35:46 -04:00
Ben Marsh
9d3514c040
Use a post-build step to strip symbols on Windows for Rocket builds, using the version of PDBCopy distributed with MSBuild.
...
[CL 2474120 by Ben Marsh in Main branch]
2015-03-10 14:25:43 -04:00
Ben Marsh
514bf3b9b2
Add support for reading UE4CommandLine.txt on Windows and Mac, as exists for packaged games on most other platforms. Use it to specify default arguments for the editor in Rocket builds, which allows removing the UE_ROCKET define.
...
#codereview Michael.Trepka, Matthew.Griffin
[CL 2474008 by Ben Marsh in Main branch]
2015-03-10 13:16:35 -04:00
Matthew Griffin
728ea31018
Removed unnecessary code forcing Rocket build to use Development now that DebugGame is an option. Opted to retain the same intermediate folder naming though as these are technically always development.
...
Added IsEngineInstalled function to UBT to better explain why some of the Rocket code is different.
#codereview Ben.Marsh
[CL 2472268 by Matthew Griffin in Main branch]
2015-03-09 07:59:37 -04:00
Peter Sauerbrei
2c858adcb7
content-only tool chain changes
...
#codereview josh.adams
[CL 2464457 by Peter Sauerbrei in Main branch]
2015-02-27 16:10:22 -05:00
Josh Adams
56440f0048
- First checkin for the new DesktopTargetPlatform that will be able to cook packages for Windows, Mac, and Linux. So far, cooking on Windows and Mac and run on each other (with -opengl on Windows, since Mac can't currently compile D3D shaders)
...
[CL 2448658 by Josh Adams in Main branch]
2015-02-17 09:57:44 -05:00
Ben Marsh
41ef5f7591
[INTEGRATE] Change 2420404 by Mike.Fricker@MFRICKER_G3686_Alpha on 2015/01/27 10:50:14
...
Fixed UnrealBuildTool Clean not deleting all project-specific intermediate files
- Files in a project's target-specific intermediate sub-folder were never cleaned!
- (e.g. "MyProject/Intermediate/Build/<Platform>/MyProjectEditor/<Configuration>/*")
[CL 2425732 by Ben Marsh in Main branch]
2015-01-30 10:17:57 -05:00
Dmitry Rekman
f7e3210fd4
UBT: fix compiling for Linux (UE-8505).
...
#codereview Terence.Burns
#lockdown Zachary.EdgertonJones
[CL 2422388 by Dmitry Rekman in Main branch]
2015-01-28 12:10:32 -05:00