Commit Graph

332 Commits

Author SHA1 Message Date
Peter Sauerbrei
7a80640cef UEB-266 - updated clean action for UBT to properly clean items from the most recent reciept, additionally, it will also now clean up stale modules when dependencies on them have been removed
#codereview ben.marsh

[CL 2615855 by Peter Sauerbrei in Main branch]
2015-07-09 17:32:40 -04:00
Mikolaj Sieluzycki
13819dc17d Make UnrealCodeAnalyzer public.
- Move UnrealCodeAnalyzer to Programs/UnrealCodeAnalyzer
- Move clang/llvm binaries and includes to ThirdParty/llvm
#codereview Robert.Manuszewski

[CL 2613304 by Mikolaj Sieluzycki in Main branch]
2015-07-08 05:11:51 -04:00
Peter Sauerbrei
fc35305c51 changes to allow two projects to have the same plugin name
UEB-258
#codereview ben.marsh

[CL 2611443 by Peter Sauerbrei in Main branch]
2015-07-06 15:22:45 -04:00
Lee Clark
d8c6aca65d SN-DBS support for distributed compilation of Win64 builds
* Modules that use #import (DatabaseSupport & VisualStudioSourceCodeAccessor) are forced to be built locally due to SN-DBS limitation . These are very small modules so have a minimal impact on build time.

#codereview Mike.Fricker

[CL 2610243 by Lee Clark in Main branch]
2015-07-03 05:23:01 -04:00
Steve Robb
69490942cd Fix for UELinkerFixups not being built properly after module updates.
#codereview robert.manuszewski

[CL 2606477 by Steve Robb in Main branch]
2015-06-30 17:11:15 -04:00
Steve Robb
db5429d360 AVX support in UnrealBuildTool.
#codereview robert.manuszewski

[CL 2604153 by Steve Robb in Main branch]
2015-06-29 12:24:33 -04:00
Jaroslaw Palczynski
a4a674fbac UBT: Fix problem with ordering modules when compiling for hot-reload.
#codereview Robert.Manuszewski

[CL 2600403 by Jaroslaw Palczynski in Main branch]
2015-06-25 08:41:50 -04:00
Ben Marsh
1bd03cb57f Allow targets to specify whether they want to build all plugins (rather than just the ones they have enabled), and turn it on for the vanilla UE4Editor target. Content-only projects may want to enable plugins, but they have no target to build.
[CL 2591851 by Ben Marsh in Main branch]
2015-06-18 08:41:17 -04:00
Peter Sauerbrei
0c49935ffd Fix for iOS building on PC
Fix for iOS loading ini files for every cpp file

[CL 2590624 by Peter Sauerbrei in Main branch]
2015-06-17 14:54:15 -04:00
Peter Sauerbrei
885e418cc8 fix for deleting the PCLaunch.rc.res in rocket
UE-16971
#ubt

[CL 2590595 by Peter Sauerbrei in Main branch]
2015-06-17 14:44:39 -04:00
Josh Adams
01c4d45e38 - Renamed Desktop target platform to AllDesktop to reduce conflicts with Desktop directories [UEPLAT-894]
#codereview peter.sauerbrei,ben.marsh

[CL 2588676 by Josh Adams in Main branch]
2015-06-16 11:09:27 -04:00
Matthew Griffin
2bbe9c6e78 Improved Intellisense for Rocket code projects
Allow Engine Projects to be created in Rocket but only as stub projects to generate intellisense paths
Add all excluded binaries to list of Precompiled Binaries so that plugin paths are included when it comes to adding intellisense paths

[CL 2588511 by Matthew Griffin in Main branch]
2015-06-16 09:13:37 -04:00
Ben Marsh
e0a010415b Treat shadow variable warnings as errors in non-unity builds.
[CL 2582001 by Ben Marsh in Main branch]
2015-06-09 18:14:52 -04:00
Steve Robb
0144ad9af6 Makefile fix for UHT types being added to or removed from existing headers.
CaselessDictionary made serializable.
New FileContentsCacheType for enabling simple lookup and caching of file contents.
Fix for module references differing in case from module definitions e.g. Http and HTTP.
Some general refactoring.

#codereview robert.manuszewski

[CL 2581357 by Steve Robb in Main branch]
2015-06-09 11:50:55 -04:00
Peter Sauerbrei
c7206dd873 fix for colliding resources when linking
UE-16498
#codereview ben.marsh

[CL 2574964 by Peter Sauerbrei in Main branch]
2015-06-02 21:45:00 -04:00
Ben Marsh
33caa49dc1 Always allow compiling game modules. Fix for user projects not being able to compile modules that aren't specifically added through the extra modules list.
[CL 2573233 by Ben Marsh in Main branch]
2015-06-01 17:57:30 -04:00
Ben.Marsh
d13fd3fc8e [INTEGRATE] Change 2571827 by Ben.Marsh@Ben.Marsh_T3245_Main on 2015/05/30 17:48:49
Fix missing resources in UE4Game and games compiled from static libraries in the binary build.

[CL 2571828 by Ben Marsh in Main branch]
2015-05-30 17:50:01 -04:00
Peter Knepley
508e142ecf Fix UBT not allowing plugins with no modules
Merging 2570550

//depot/UE4-UT/...

to //depot/UE4/...

#codereview Ben.Marsh

[CL 2570567 by Peter Knepley in Main branch]
2015-05-29 11:19:57 -04:00
Ben Marsh
066e7f2059 Stop UBT creating an intermediate directory in Engine/Source when compiling a plugin against UE4Game (which it then warns about on subsequent runs)
[CL 2564807 by Ben Marsh in Main branch]
2015-05-26 08:37:36 -04:00
Ben Marsh
b0d5ba9801 Fix calls to IsCompiledInConfiguration() which rely on UBT's global state. The function is called from UBT, where this information is not accurate.
[CL 2563566 by Ben Marsh in Main branch]
2015-05-22 18:26:58 -04:00
Ben Marsh
0664b38ebb Fix linking against static libraries which have circular references back to the original binary. Plugins depend on other engine modules, but linking a monolithic game should not add a library dependency on the monolithic executable.
[CL 2562433 by Ben Marsh in Main branch]
2015-05-22 08:57:34 -04:00
Ben Marsh
3fa69c2498 Fix dependencies of precompiled modules being linked into the game binary. Was causing CEF to be linked in to UE4Game in Rocket, causing launch-on to fail.
* Plugin modules are now explicitly added into the modules list for the binaries they're going to be a part of (this wasn't possible before we supported modules being in static libraries AND a DLL/EXE at the same time)
* Receipt now only includes runtime dependencies for things which are actually runnable

[CL 2561193 by Ben Marsh in Main branch]
2015-05-21 14:47:55 -04:00
Ben Marsh
de01742a61 More robust filtering of platform-specific plugins; only removes platform folders which are above the engine or project root.
#codereview Mark.Satterthwaite

[CL 2554927 by Ben Marsh in Main branch]
2015-05-18 09:56:56 -04:00
Steve Robb
499def698b UBT cleanups:
* Removal of some null checks.
* Some arrays changed to Lists.
* Some lists changed to IEnumerables.
* Some loops changed to Linq actions.
* FilterOnlyModules and FilterGameModules renamed to GetFiltered* functions, which better represent what they do.
* Some indentation fixes.
* Some thrown exceptions moved around to more appropriate locations.

#codereview robert.manuszewski

[CL 2554771 by Steve Robb in Main branch]
2015-05-18 08:16:56 -04:00
Ben Marsh
6c7611d129 Fix some optional modules not being hooked up to their precompiled binaries when running in Rocket. Fixes OnlineSubsystemNull/OnlineSubsystemSteam link errors for ShooterGame.
[CL 2554067 by Ben Marsh in Main branch]
2015-05-16 11:27:47 -04:00