Commit Graph

685 Commits

Author SHA1 Message Date
ben marsh
a4564e6593 Fix problems creating a new plugin in a project with a unique build environment.
#jira UE-75202
#rb none

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 6759642 in //UE4/Main/...
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim) (v365-6733468)

[CL 6796322 by ben marsh in Dev-Anim branch]
2019-06-03 09:08:50 -04:00
josh adams
f0568248ba - Fixed up the DebugInfo path for IOS framework builds, needed for Crash Reporting
- Reenabled crashlytics
#rb ben.marsh
[FYI] peter.sauerbrei

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 6677447 via CL 6677449 via CL 6677450 via CL 6677451 via CL 6679767 via CL 6679797
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim) (v365-6733468)

[CL 6791429 by josh adams in Dev-Anim branch]
2019-06-03 07:35:37 -04:00
ben marsh
042f57bd49 Fix link errors due to incremental linking when PGO is enabled. Code used to work because it happened to be running on the build system, which would only make formal builds. This was broken due to a change in the order in which those settings were initialized. Now explicitly disables incremental linking with PGO.
#rb none

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 6675362 via CL 6675364 via CL 6675864 via CL 6675925
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim) (v365-6733468)

[CL 6789620 by ben marsh in Dev-Anim branch]
2019-06-03 07:06:49 -04:00
david harvey
ad104498be PlatformExtensions: adding a helper to UnrealTargetPlatform to check for group membership.
#rb josh.adams

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: david.harvey
#ROBOMERGE-SOURCE: CL 6662966 in //UE4/Main/...
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim) (v365-6733468)

[CL 6761280 by david harvey in Dev-Anim branch]
2019-05-31 20:40:02 -04:00
ben marsh
982bfb4a5c UBT: Add an command line argument that allows disabling incremental linking.
#jira

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 6655360 via CL 6656767 via CL 6656888
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim) (v365-6733468)

[CL 6759790 by ben marsh in Dev-Anim branch]
2019-05-31 19:54:25 -04:00
ben marsh
83bd3cd7c6 Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 6631504 in //UE4/Main/...
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim) (v365-6733468)

[CL 6748759 by ben marsh in Dev-Anim branch]
2019-05-31 18:06:13 -04:00
ryan durand
d7b196a491 UE-72225
Merging in fixes to better support SNDBS in UBT with use of cl-filter.

#lockdown ben.marsh
#rnx
#rb none
#jira UE-72225

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 6489426 in //UE4/Release-4.22/... via CL 6489461
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 6529482 by ryan durand in Dev-Anim branch]
2019-05-16 03:22:00 -04:00
ben marsh
640069c5a2 Live Coding: Fix crashes when patching adaptive non-unity files in game modules containing static global variables.
Live++ reads object files at startup for game modules, and assigns unique ids to each compiland (used to disambiguate static variables). When compiling the patch, these compilands are modified to reference a unique id for the unity blob, causing the variables to be reconstructed.

Solution is to generate a JSON file to each output directory containing object files containing the mapping, and to use that to assign compiland ids at startup.

#rb none
#jira UE-74036

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 6455253 in //UE4/Release-4.22/... via CL 6455273
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 6474667 by ben marsh in Dev-Anim branch]
2019-05-15 08:12:01 -04:00
ben marsh
0a6b3b762b UBT: Add utility methods for correcting paths to match their case on disk, and fix issues with inconsistent paths when cross-compiling for Linux.
#rb none
#jira UE-72267
#jira UE-72904

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 6441346 in //UE4/Release-4.22/... via CL 6441352
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 6471531 by ben marsh in Dev-Anim branch]
2019-05-15 06:47:24 -04:00
ben marsh
f1e6b68ec4 Fix exception when exporting JSON for SwarmInterface. Fixes CIS error with IncludeTool.
#rb none
#jira UE-72992

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

[CL 5986788 by ben marsh in Dev-Anim branch]
2019-04-18 13:01:59 -04:00
ben marsh
38dffac979 Fixes to ListThirdPartySoftware script.
* Switched to use JsonExport mode in UBT.
* Added runtime dependencies into the output file.

#rb none
#rnx
#jira

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5959015 in //UE4/Release-4.22/... via CL 5959017
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5964274 by ben marsh in Dev-Anim branch]
2019-04-17 21:09:43 -04:00
peter engstrom
bd94ac3a78 Use forward slashes in include paths.
#rb ben.marsh
#rnx

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: peter.engstrom
#ROBOMERGE-SOURCE: CL 5667718 via CL 5667743 via CL 5667748 via CL 5667751 via CL 5668993 via CL 5668997
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5670315 by peter engstrom in Dev-Anim branch]
2019-04-01 13:02:20 -04:00
bart hawthorne
8cb87f8d1f Fix issue where live++ recompile would execute old hotreload system code that would trigger an exception in monolithic builds
[FYI] ben.marsh

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: bart.hawthorne
#ROBOMERGE-SOURCE: CL 5563075 via CL 5564799 via CL 5564894
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5583981 by bart hawthorne in Dev-Anim branch]
2019-03-27 01:28:59 -04:00
ben marsh
d501be5207 Fix missing plugin error at startup.
#jira

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5459335 via CL 5461952 via CL 5462074
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5476936 by ben marsh in Dev-Anim branch]
2019-03-20 13:28:46 -04:00
ben marsh
8ef2559af1 UBT: Make mismatched supported target platforms an error.
#jira

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5459241 via CL 5460114 via CL 5460172
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5476808 by ben marsh in Dev-Anim branch]
2019-03-20 13:28:14 -04:00
ben marsh
503c4b8d8a 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: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5459133 via CL 5459920 via CL 5460056
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5476611 by ben marsh in Dev-Anim branch]
2019-03-20 13:27:06 -04:00
ben marsh
e7693cb8c7 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: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5458343 in //UE4/Release-4.22/... via CL 5458360
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5474993 by ben marsh in Dev-Anim branch]
2019-03-20 13:15:30 -04:00
ben marsh
6e5c840498 UBT: Disable the "bAdaptiveUnityDisablesPCH" build flag by default. This significantly improves iteration times on individual files, at the risk of introducing missing headers. Will validate this in CIS instead.
#rb none
#jira

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5447578 in //UE4/Release-4.22/... via CL 5447579
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5471224 by ben marsh in Dev-Anim branch]
2019-03-20 13:00:26 -04:00
michael trepka
82192dc068 UBT: Fixed Copy Action on Mac and Linux for paths containing space character
#jira UE-71448
#rb trivial

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: michael.trepka
#ROBOMERGE-SOURCE: CL 5382629 in //UE4/Release-4.22/... via CL 5383068
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5384960 by michael trepka in Dev-Anim branch]
2019-03-13 13:02:48 -04:00
ben marsh
5978d3366b UBT: Add additional timing info into logs.
#rb none
#rnx
#jira

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5312405 in //UE4/Release-4.22/... via CL 5316167
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5330366 by ben marsh in Dev-Anim branch]
2019-03-06 18:38:47 -05:00
ben marsh
cac209bb32 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: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5304722 in //UE4/Release-4.22/... via CL 5309051
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5325549 by ben marsh in Dev-Anim branch]
2019-03-06 18:16:39 -05:00
ben marsh
117746a475 Fix settings for enabling shadow variable and undefined identifier warnings not being treated as requiring a unique PCH. Also fix shared PCHs not enabling each by default. The compiler (at least on Windows) does not produce a warning/error on this mismatch, but does not respect the different settings passed via the command line.
#rb none
#jira

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5295902 in //UE4/Release-4.22/... via CL 5308945
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5325319 by ben marsh in Dev-Anim branch]
2019-03-06 18:15:48 -05:00
ben marsh
1d7f62a414 UBT: Allow modules to disable PCHs entirely by setting PCHUsage = PCHUsageMode.NoPCHs.
#rb none
#jira

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

[CL 5247594 by ben marsh in Dev-Anim branch]
2019-02-28 17:23:18 -05:00
Thomas Sarkanen
474bc576ee Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 5236305
#rb none
#jira none

[CL 5236785 by Thomas Sarkanen in Dev-Anim branch]
2019-02-28 04:41:36 -05:00
ben marsh
0ebc657e7f Add a flag which allows overriding the shared compile environment with custom build settings.
#rb none

#ROBOMERGE-OWNER: lina.halper
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 5200081 in //UE4/Main/...
#ROBOMERGE-BOT: ANIM (Main -> Dev-Anim)

[CL 5205055 by ben marsh in Dev-Anim branch]
2019-02-26 13:27:17 -05:00