Commit Graph

118 Commits

Author SHA1 Message Date
mitchell wilson
58c8a73ac3 Copying //UE4/Dev-Documentation to Samples-Main (//UE4/Samples-Main)
#rb none
#rnx

#ROBOMERGE-OWNER: jeanmichel.dignard
#ROBOMERGE-AUTHOR: mitchell.wilson
#ROBOMERGE-SOURCE: CL 9551884 in //UE4/Main/...
#ROBOMERGE-BOT: VP (Main -> Dev-Tools-Staging) (v538-9681622)

[CL 9692885 by mitchell wilson in Dev-Tools-Staging branch]
2019-10-18 13:42:07 -04:00
Ben Marsh
aa45fb1bf3 UBT: Make the -Quiet option per-target, and use it to suppress toolchain and adaptive non-unity info for secondary build targets.
#rb none
#rnx

[CL 8638712 by Ben Marsh in Dev-Build branch]
2019-09-11 11:52:41 -04:00
Ben Marsh
adb63622ca Tweak upgrade messages for UBT settings version.
#rb none
#rnx

[CL 8571756 by Ben Marsh in Dev-Build branch]
2019-09-09 08:51:15 -04:00
Ben Marsh
ec2464a292 UBT: Add a mechanism for versioning which build settings UBT should use by default.
Any build targets have a DefaultBuildSettings property. For engine targets, this defaults to BuildSettingsVersion.Latest. For project targets, this defaults to BuildSettingsVersion.Release_4_23. For new projects, this will default to the engine version they are created from.

If a target is not using the latest default build settings, they will receive a message describing the settings that have changed, like this:

    [Upgrade]
    [Upgrade] Using UE 4.23 compatible build settings. The latest version of UE4 sets the following values by default, which may require code changes:
    [Upgrade]     bLegacyPublicIncludePaths = false                 => Omits subfolders from public include paths to reduce compiler command line length.
    [Upgrade]     PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs   => Set in build.cs files to enables IWYU-style PCH model. See https://docs.unrealengine.com/en-US/Programming/BuildTools/UnrealBuildTool/IWYU/index.html.
    [Upgrade] Suppress this message by setting 'DefaultBuildSettings = BuildSettingsVersion.Release_4_24;' in UnrealPak.Target.cs, and explicitly overriding desired settings.
    [Upgrade]

Intent is to reduce friction for users initially upgrading to new engine versions, while notifying them of more optimal build settings being available, and letting them choose when (or if) to use them.

#rb none

[CL 8556769 by Ben Marsh in Dev-Build branch]
2019-09-06 15:59:52 -04:00
Ben Marsh
81d4acb07f Fix Clang executable path, missing source file in output compile_commands.json.
#rb none
#rnx

[CL 8126541 by Ben Marsh in Dev-Build branch]
2019-08-20 11:46:20 -04:00
Ben Marsh
d72aa608d4 Fix missing copyright notices.
#rb none
#fyi Ryan.Durand
#rnx

[CL 8124512 by Ben Marsh in Dev-Build branch]
2019-08-20 09:24:05 -04:00
Ben Marsh
f7f2eee7db Missing file.
#rb none
#rnx

[CL 8121650 by Ben Marsh in Dev-Build branch]
2019-08-19 21:10:34 -04:00
Ben Marsh
f0b21050a3 Add a "GenerateClangDatabase" mode to UBT, which will generate a compile_commands.json file in the workspace root directory for Clang tooling. Filter which files to include using the -Filter=... argument (eg. -Filter=QAGame/Source/...).
Example usage:

UnrealBuildTool.exe UnrealPak Win64 Development -Mode=GenerateClangDatabase -Filter=Engine/Source/Programs/...

#rb none

[CL 8121646 by Ben Marsh in Dev-Build branch]
2019-08-19 21:09:01 -04:00
DecoyRS
9333dbbcfa PR #6063: Rider Project Model generation v 1.0 (Contributed by DecoyRS)
#rb none

[CL 8095590 by Ben Marsh in Dev-Build branch]
2019-08-16 13:41:27 -04:00
Ben Marsh
3b3593ca02 Fix copyright warning in CIS.
#rb none
#rnx

[CL 7975807 by Ben Marsh in Dev-Build branch]
2019-08-13 10:24:03 -04:00
Ben Marsh
2aff13a3b8 Add functionality to allow querying the available targets for a project from the editor, and use it to allow packaging client and server targets from the "Package Project" menu.
#rb none

[CL 7950582 by Ben Marsh in Dev-Build branch]
2019-08-12 11:21:45 -04:00
ben marsh
2e83ddefe2 Live Coding: Allow building foreign plugins while Live Coding is active.
#rb none
#jira UE-78421

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 7820681 in //UE4/Release-4.23/... via CL 7820694
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v389-7813075)

[CL 7867169 by ben marsh in Dev-Build branch]
2019-08-08 05:33:53 -04:00
ben marsh
46ebd2be08 Live Coding: Allow building foreign plugins while Live Coding is active.
#rb none
#jira UE-78421

#ROBOMERGE-SOURCE: CL 7820681 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v389-7813075)

[CL 7820694 by ben marsh in Main branch]
2019-08-06 16:18:26 -04:00
ben marsh
d0a8039487 LiveCoding: Prevent object files being overwritten during a live coding compile. Object files are now built with a .lc suffix, leaving the original files intact. This ensures it can gather COFF data from the correct executables on relaunch, and means that any existing changes will be patched in as soon as the first Live Coding compile is initiated. Should fix several issues.
#rb none
#jira UE-76940, UE-76993, UE-76943

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 7321451 in //UE4/Release-4.23/... via CL 7321452
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v371-7306989)

[CL 7370113 by ben marsh in Dev-Build branch]
2019-07-17 03:40:33 -04:00
jeff fisher
3d3aa9114e UE-76509 Packaging for Hololens doesn't work in an Installed build
-fixes hololens arm64 packaging error about mspdbcore.dll, this affected non-installed builds as well
-several other jiras are linked from that one that will still remain for packaging from installed builds
-(actually implemented by joe, reviewed and tested by me)
#rb joe.conley
#jira UE-76509

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: jeff.fisher
#ROBOMERGE-SOURCE: CL 7265359 in //UE4/Release-4.23/... via CL 7265361
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v371-7306989)

[CL 7337798 by jeff fisher in Dev-Build branch]
2019-07-16 23:44:03 -04:00
ben marsh
ef3c866b47 LiveCoding: Prevent object files being overwritten during a live coding compile. Object files are now built with a .lc suffix, leaving the original files intact. This ensures it can gather COFF data from the correct executables on relaunch, and means that any existing changes will be patched in as soon as the first Live Coding compile is initiated. Should fix several issues.
#rb none
#jira UE-76940, UE-76993, UE-76943

#ROBOMERGE-SOURCE: CL 7321451 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v371-7306989)

[CL 7321452 by ben marsh in Main branch]
2019-07-16 08:51:35 -04:00
ben marsh
3cc5d9c8a2 Few CIS fixes.
#rb none
#rnx
#jira

#ROBOMERGE-SOURCE: CL 7321421 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v371-7306989)

[CL 7321423 by ben marsh in Main branch]
2019-07-16 08:47:25 -04:00
Ben Marsh
8ada18e314 Few CIS fixes.
#rb none
#rnx

[CL 7288820 by Ben Marsh in Dev-Build branch]
2019-07-12 08:58:05 -04:00
jeff fisher
ba53539174 UE-76509 Packaging for Hololens doesn't work in an Installed build
-fixes hololens arm64 packaging error about mspdbcore.dll, this affected non-installed builds as well
-several other jiras are linked from that one that will still remain for packaging from installed builds
-(actually implemented by joe, reviewed and tested by me)
#rb joe.conley
#jira UE-76509

#ROBOMERGE-SOURCE: CL 7265359 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v369-7254125)

[CL 7265361 by jeff fisher in Main branch]
2019-07-10 14:33:32 -04:00
ben marsh
ada0b5cab3 LiveCoding: Allow patching executables after they have been staged to a different directory, so it runs correctly with packaged games.
#rb none
#rnx
#jira UE-76703

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 7233663 in //UE4/Release-4.23/... via CL 7233665
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v367-6836689)

[CL 7242592 by ben marsh in Dev-Build branch]
2019-07-09 00:51:59 -04:00
ben marsh
1a3d361e6b LiveCoding: Allow patching executables after they have been staged to a different directory, so it runs correctly with packaged games.
#rb none
#rnx
#jira UE-76703

#ROBOMERGE-SOURCE: CL 7233663 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7233665 by ben marsh in Main branch]
2019-07-08 16:46:04 -04:00
ben marsh
315a8b6186 Fix single-file compile when UHT needs to be executed. Was removing binaries from the target before determining the full set of modules for UHT to run.
#rb none
#jira
#rnx

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 7061437 in //UE4/Release-4.23/... via CL 7061438
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v367-6836689)

[CL 7123662 by ben marsh in Dev-Build branch]
2019-06-21 01:58:10 -04:00
ben marsh
802e86e6e0 Fix single-file compile when UHT needs to be executed. Was removing binaries from the target before determining the full set of modules for UHT to run.
#rb none
#jira
#rnx

#ROBOMERGE-SOURCE: CL 7061437 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7061438 by ben marsh in Main branch]
2019-06-18 00:58:40 -04:00
ben marsh
814a1088bd Live Coding: Fix support for lazy loading modules. Now passes UBT a list of modules that can be updated, and UBT fails the build and writes out a list of others that would be modified. Live Coding console then loads those modules and retries.
#rb none
#jira UE-74679

#ROBOMERGE-SOURCE: CL 6960867 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v366-6836689)

[CL 6966783 by ben marsh in Main branch]
2019-06-12 23:22:20 -04:00
ben marsh
4e1e602670 Live Coding: Prevent compiling from the IDE while a Live Coding session is active. Engine runtime creates a global mutex with the executable path in the a name and leaks the handle, then UBT checks for it existing before allowing a build to start.
#rb none
#jira UE-74438

#ROBOMERGE-SOURCE: CL 6957113 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v366-6836689)

[CL 6966779 by ben marsh in Main branch]
2019-06-12 23:22:12 -04:00