Commit Graph

502 Commits

Author SHA1 Message Date
Ben Marsh
cfe09c649f Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 6922670 by Ben Marsh in Dev-Build branch]
2019-06-10 19:47:29 -04:00
chris gagnon
72ba51c5bd Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.23 From CL 6837861
#rb none


#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: chris.gagnon
#ROBOMERGE-SOURCE: CL 6838042 in //UE4/Main/...
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v366-6836689)

[CL 6874679 by chris gagnon in Dev-Build branch]
2019-06-07 05:27:42 -04:00
ben marsh
e178b30f31 Fix problems creating a new plugin in a project with a unique build environment.
#jira UE-75202
#rb none

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 6759642 in //UE4/Main/...
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v365-6733468)

[CL 6762681 by ben marsh in Dev-Build branch]
2019-06-01 11:19:29 -04:00
David Harvey
040cb211b9 PlatformExtensions: adding a helper to UnrealTargetPlatform to check for group membership.
#rb josh.adams

[CL 6654282 by David Harvey in Dev-Build branch]
2019-05-28 13:18:54 -04:00
Ben Marsh
7170e4ccc1 Live Coding: Fix several issues related to using launch on / packaged builds with Live Coding.
* The original .uproject file is now compiled into monolithic executables when Live Coding is enabled. This allows invoking UBT with the original project file when the executable is staged to a different directory. This parameter can be overriden via the LiveCoding.SourceProject cvar.
* The original engine directory is also compiled into the executable. This allows finding the console executable path without having to enter it manually via the LiveCoding.ConsolePath cvar.
* If an exact match for a binary filename is not found, try to find a match by name only. Also required to support staged builds for 'Launch On', etc...
* Add a LiveCoding.Compile command to trigger a compile from the console.

#rb none
#jira UE-72677
#jira UE-72678
#jira UE-72683

[CL 6625676 by Ben Marsh in Dev-Build branch]
2019-05-23 20:41:59 -04:00
Ryan Durand
fa4898a3e8 UE-72225
Moving where the include-rewrite-rules.ini for SNDBS gets generated into the executor and adding the ability for a UEBuildPlatform to specify a platform name to use instead of the default.

#rnx
#jira UE-72225

[CL 6378434 by Ryan Durand in Dev-Build branch]
2019-05-08 16:28:03 -04:00
Ryan Durand
e12d277542 UE-72225
Adding support for generating an SNDBS template for cl-filter.exe so it can be run remotely. Couldn't repro the "not working" part of the bug.

#jira UE-72225
#rb none

[CL 6341754 by Ryan Durand in Dev-Build branch]
2019-05-07 11:20:20 -04:00
Josh Adams
1e4b186150 - Big update to platforms: PlatformExtensions
- This allows for Confidential platforms to exist outside of the engine, and insert themselves in as needed
- Directory structure is, where .... mirrors the directory structure for Engine and projects
     - /Platforms/XXX/....
- Moving to more data driven approach for ShaderPlatforms and PlatformInfo, where they can be read from DataDrivenPlatformInfo.ini files that live in the platform config folders
- Removed platform mentions from UBT, by way of changing some enums to partial classes with static members (see UnrealTargetPlatform)
- Various other UBT/UAT modifications to allow for looking in other locations for files
- THIS IS NOT A COMPLETE AND FINAL SOLUTION. WE WILL CONTINUE WORK IN DEV-BUILD BEFORE ITS READY FOR PRIMETIME
#rb ben.marsh

[CL 6271418 by Josh Adams in Dev-Build branch]
2019-05-03 08:03:23 -04:00
Ben Marsh
f01d4aae96 UBT: Add a flag for whether a module can be used for a shared PCH, rather than checking against the engine directory.
#rb none
#rnx

[CL 6107587 by Ben Marsh in Dev-Build branch]
2019-04-26 12:00:13 -04:00
Ben Marsh
4d27210c01 UBT: Remove global function for determining whether a file is under an engine directory. This is now done via a trait that is propagated through construction of individual modules.
#rb none
#rnx
#fyi Josh.Adams

[CL 6076546 by Ben Marsh in Dev-Build branch]
2019-04-24 08:31:23 -04:00
Ryan Durand
534e68ec2c UBT: Implementing the recommended code fixes from Ben for the compile timing code.
#rb Ben.Marsh

[CL 6013626 by Ryan Durand in Dev-Build branch]
2019-04-19 11:26:11 -04:00
Ryan Durand
27e5e084dc UBT: Adding support for grabbing and parsing compile timing data for VCToolChain and aggregate it.
#rb none

[CL 5992181 by Ryan Durand in Dev-Build branch]
2019-04-18 15:07:10 -04:00
ben marsh
98a7a438c1 Fix exception when exporting JSON for SwarmInterface. Fixes CIS error with IncludeTool.
#rb none
#jira UE-72992

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5980951 in //UE4/Release-4.22/... via CL 5980952
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5986815 by ben marsh in Dev-Build branch]
2019-04-18 13:02:06 -04:00
bart hawthorne
84851a2e05 Fix issue where live++ recompile would execute old hotreload system code that would trigger an exception in monolithic builds
[FYI] ben.marsh

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: bart.hawthorne
#ROBOMERGE-SOURCE: CL 5563075 via CL 5564799 via CL 5564894
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5583748 by bart hawthorne in Dev-Build branch]
2019-03-27 01:27:39 -04:00
ben marsh
7ab6ca5ea2 Fix missing plugin error at startup.
#jira

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5459335 via CL 5461952 via CL 5462074
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5476923 by ben marsh in Dev-Build branch]
2019-03-20 13:28:42 -04:00
ben marsh
26c1f41173 UBT: Make mismatched supported target platforms an error.
#jira

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5459241 via CL 5460114 via CL 5460172
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5476790 by ben marsh in Dev-Build branch]
2019-03-20 13:28:10 -04:00
ben marsh
e16555d57c Add a warning when a plugin reference overrides the plugin's list of supported target platforms. Silently failing at build time will cause errors at runtime.
[FYI] Justin.Marcus
#jira

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5459133 via CL 5459920 via CL 5460056
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5476595 by ben marsh in Dev-Build branch]
2019-03-20 13:27:02 -04:00
ben marsh
81706f63cd Fix exception when hot-reloading a module that contains an additional bundle resource. List of hot-reload build products for each module now only includes import library and DLL.
#rb none
#jira UE-71692

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5458343 in //UE4/Release-4.22/... via CL 5458360
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5474960 by ben marsh in Dev-Build branch]
2019-03-20 13:15:17 -04:00
Ben Marsh
07e535411b Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 5435186 by Ben Marsh in Dev-Build branch]
2019-03-18 16:38:36 -04:00
ben marsh
49a498e69e Integrating live coding feature (aka Live++) into UE4.
Allows fast iteration of C++ changes without restarting the application. To use, select the "Live Coding (Experimental)" mode from the drop down menu next to the editor's compile button, or type "LiveCoding" into the console for a monolithic build. Press Ctrl+Alt+F11 to find changes and compile.

Changes vs standalone Live++ version:

* UBT is used to execute builds. This allows standard UE4 adaptive unity mode, allows us to reuse object files when we do regular builds, supports using any build executor allowed by UBT (XGE, SNDBS, etc..).
* Adding new source files is supported.
* Custom visualizer for FNames is supported via a weakly linked symbol in a static library (Engine/Extras/NatvisHelpers).
* Settings are exposed in the editor's project settings dialog.
* Standalone application has been rewritten as a Slate app ("LiveCodingConsole"). There is an additional option to start the program as hidden, where it will not be visible until Ctrl+Alt+F11 is hit. Similarly, closing the window will hide it instead of closing the application.
* Does not require a standalone licensed version of Live++.

Known issues:

* Does not currently support class layout changes / object reinstancing

#rb none
[FYI] Marc.Audy, Stefan.Boberg, Nick.Penwarden
#jira

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5304722 in //UE4/Release-4.22/... via CL 5309051
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5325555 by ben marsh in Dev-Build branch]
2019-03-06 18:16:41 -05:00
ben marsh
43a2ef9d75 UBT: Allow modules to disable PCHs entirely by setting PCHUsage = PCHUsageMode.NoPCHs.
#rb none
#jira

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5240326 in //UE4/Release-4.22/... via CL 5240327
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5252084 by ben marsh in Dev-Build branch]
2019-02-28 17:50:29 -05:00
josh adams
b3cc809913 - Merging Dev-Kairos/Engine/... to Main/Engine/...
- Brings over the necessary engine changes for embedding UE4 mobile as a dylib/so in native mobile app
- Various changes for facial animation, screen recording, others
- ARKit and ARCore plugins were removed, as deemed "not ready"
#rb many people

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 5201138 via CL 5203024 via CL 5226277
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5243833 by josh adams in Dev-Build branch]
2019-02-28 17:02:41 -05:00
ben marsh
b3afc36db9 Add a flag which allows overriding the shared compile environment with custom build settings.
#rb none

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5200081 in //UE4/Main/...
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5204971 by ben marsh in Dev-Build branch]
2019-02-26 13:26:57 -05:00
ben marsh
f89792ce67 UBT: Add support for writing a header containing the public compile environment for modules in the primary binary of a target (including all *_API macros in 'export' mode). To use, set ExportPublicHeader = "Foo.h" from the target.cs file.
#jira
[CODEREVIEW] Josh.Adams
#rb none

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5175655 via CL 5175725 via CL 5177123
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5186064 by ben marsh in Dev-Build branch]
2019-02-25 17:09:31 -05:00
Ben Marsh
0f79d0e564 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4979967 by Ben Marsh in Dev-Build branch]
2019-02-12 21:08:26 -05:00