Commit Graph

123 Commits

Author SHA1 Message Date
bryan sefcik
2797e3e4e9 Optimized the ItemGroup values in VCProject by moving values to properties so can be shared across ClCompile items.
This change drastically cut down on the generated project folder size:
Before: 641 MB
After: 77.1 MB

#preflight 643994e80a5a4b944e6308a1
#fyi joe.kirchoff

[CL 25047199 by bryan sefcik in ue5-main branch]
2023-04-14 15:08:08 -04:00
bryan sefcik
cc312680a6 Moved some of the VS project properties to the common section.
#fyi joe.kirchoff
#preflight 642619469621ba9cb4712518

[CL 24862972 by bryan sefcik in ue5-main branch]
2023-03-30 19:45:03 -04:00
bryan sefcik
be8b73eacc Fixed an issue where some common properties from a different platform were stomping on top of another.
Lots of minor cleanup.

#fyi joe.kirchoff
#preflight 641f0e56973e60967033b3bb

[CL 24796604 by bryan sefcik in ue5-main branch]
2023-03-25 12:06:11 -04:00
bryan sefcik
4bcaed87be Removed more redundant import, configuration and system settings from the generated projects.
#preflight 641e613f7703a8de3d0f1153
#fyi joe.kirchoff

[CL 24792376 by bryan sefcik in ue5-main branch]
2023-03-24 23:20:44 -04:00
bryan sefcik
15d9c6de30 Removed the redundant configuration data from the generated projects.
#preflight 641e1782b72410fc17bef6d3
#fyi joe.kirchoff

[CL 24789336 by bryan sefcik in ue5-main branch]
2023-03-24 18:00:39 -04:00
bryan sefcik
02dce152d4 Fixed an issue where vs project platform properties would leak into other platforms.
#fyi joe.kirchoff
#preflight 641de5aac42c7fd1cbc9371c

[CL 24783941 by bryan sefcik in ue5-main branch]
2023-03-24 14:39:40 -04:00
Josh Adams
4d71a93586 - Added ability to have a IDE project for each Target (UnrealGame vs UnrealEditor) and remove the Type from the Configurations (Debug, Development, etc - no more Development Editor config)
- Enabled for Xcode, added support but left disabled for VisualStudio
- For Games and Samples with multiple projects, a solution folder now contains them
#rb joe.kirchoff
#preflight 63efb20061378b7ea02bc32d

[CL 24285567 by Josh Adams in ue5-main branch]
2023-02-17 12:53:28 -05:00
Josh Adams
61f180726f - Fixed NMakeOutput to not have x64 architecture inlined for Windows builds
#rb trivial
#preflight skip

[CL 23830525 by Josh Adams in ue5-main branch]
2023-01-24 10:06:11 -05:00
josh adams
1610c3bee3 UnrealArch/UnrealArchitectures changes
- Creates the UnrealArchitectures class, which wraps a list of UnrealArch objects
 - UnrealArch is a single architecture, expandable enum-like struct
 - There is no more concept of "no/default architecture", there is always a valid active architecture when building
 - Most uses of "string Architecture" are replaced with one of the two above, depending if multiple architectures are supported or not
 - UnrealArch has some platform-extensions for platform-specific naming (like Linux adds in LinuxName that turns, for instance, Arm64 -> aarch64-unknown-linux-gnueabi, which is used in folder names, etc)
 - UnrealArch has bIsX64 which can be used determine intel instruction set (as opposed to arm)
 - TargetRules class has an "Architecture" accessor that will return a single architecture if the active architectures is a single architecture, or throw an exception if multiple. This is useful in a majority of the cases where a paltform can only have a single architecture active in TargetRules (microsoft platforms, for instance, will create separate targets when compiling multiple architectures at once)
 - Added UnrealArchitectureConfig class, which contains all the architecture information for a platform (what architectures are supported, what ones are currently active for given project, etc)

#preflight 63c81fb5b065224750a1759e
#rb mike.fricker,roman.dzieciol,joe.kirchoff,dmytro.vovk,brandon.schaefer [various parts]
#p4v-preflight-copy 23562471

[CL 23829977 by josh adams in ue5-main branch]
2023-01-24 09:30:28 -05:00
AfterThunk
58c87fd785 PR #10020: Add -Project param to command line build params (Contributed by AfterThunk)
#preflight 63cb37db544e5bb0753f69a0

[CL 23801044 by AfterThunk in ue5-main branch]
2023-01-20 19:58:04 -05:00
real-mikhail
56d6e37459 PR #9942: Added support for coroutines (enabled via bEnableCppCoroutinesForEvaluation) in Rider (Contributed by real-mikhail)
#preflight 63b472011c35d1cbdb411a58

[CL 23568004 by real-mikhail in ue5-main branch]
2023-01-03 13:35:58 -05:00
Wojciech Krywult
7ea828b1f9 UBT: Projects: Fixed live code edit (edit and continue) on some platforms.
Technically, it did work on the affected platforms, because we could modify a .cpp file and deploy this change, but UBT ran a full build script including compilation, linking and symbol generation, which is unnecessary because only compilation is needed. Thus, it increased the update time from 1-10 sec to 60 seconds (the time is dominated by the link time).

Fixed by adding a special Target to our projects that runs only compilation steps.

#preflight 6348626af622f6c4bbd93647
#rb Joe.Kirchoff,
#jira UE-165149

#rn fix Sony Live code edit (edit and continue) no longer triggers linking when applying code changes. This way iteration time is significantly reduced.

[CL 22534283 by Wojciech Krywult in ue5-main branch]
2022-10-14 16:53:54 -04:00
yujiang wang
aba16650b3 StaticLighting: Prevent UnrealLightmass from being compiled in configurations other than Debug and Development. Also check the Lightmass executable with Development configuration specifically since the editor can default to DebugGame
#preflight 633b13f36b10157eac5d6357

[CL 22322280 by yujiang wang in ue5-main branch]
2022-10-03 20:40:20 -04:00
chris constantinescu
0d0ad8e4c8 Remove faulty global GBlockLocalPrint, cleanup unused VS config
All platforms preflight 62f67851b66d5d9313f240b6
#rb Devin.Doucette
#preflight 62f67866bd746abb99c0be54

[CL 21362093 by chris constantinescu in ue5-main branch]
2022-08-12 15:45:37 -04:00
SmelJey
88bf150c2f PR #9330: Add build information to Rider Project Model (Contributed by SmelJey)
#preflight 62ce1722c644c2b870dd0b0f

[CL 21066492 by SmelJey in ue5-main branch]
2022-07-12 20:57:59 -04:00
Tim Smith
12fc6759d5 [Backout] - CL20817342 - Preventing people from building UE5 or other large projects.
#fyi Joe.Kirchoff
#rnx

Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Ignore VCProjectFileSettings.MaxSharedIncludePaths for VS2022

#rnx
#rb none
#preflight 62b62e6fa072cea0b5989414
#preflight 62b9b58bba62f4498a3209c2

[CL 20830204 by Tim Smith in ue5-main branch]
2022-06-27 09:55:34 -04:00
Joe Kirchoff
447f374426 UnrealBuildTool: Ignore VCProjectFileSettings.MaxSharedIncludePaths for VS2022
#rnx
#rb none
#preflight 62b62e6fa072cea0b5989414

[CL 20817342 by Joe Kirchoff in ue5-main branch]
2022-06-24 17:41:49 -04:00
David Harvey
78f7b7e0fd deprecate UnrealPlatformGroup.HoloLens
#jira UE-149794
#rnx
#preflight 6290ba31d24a7fc585eed7ca
#rb pending

[CL 20392934 by David Harvey in ue5-main branch]
2022-05-27 10:10:16 -04:00
David Harvey
684d168454 Remove HoloLens platform references from UnrealBuildTool.
#jira UE-149794
#rnx
#rb Jeff.Fisher
#preflight 628f4064f622d972b5ca0202

[CL 20377314 by David Harvey in ue5-main branch]
2022-05-26 05:57:47 -04:00
Ben Marsh
cbb950c578 UBT: Use ILogger throughout UBT, rather than legacy EpicGames.Core.Log methods. All output going forwards should use structured logging rather than String.Format style logging.
#preflight 628e9dc6e746de4961f60032

[CL 20373777 by Ben Marsh in ue5-main branch]
2022-05-25 19:55:37 -04:00
Joe Kirchoff
c512a89ace Rename UnrealBuildTool.EngineSourceDirectory -> Unreal.EngineSourceDirectory
#rnx
#rb trivial
#preflight 628e9fdaf622d972b59ebe85

[CL 20372061 by Joe Kirchoff in ue5-main branch]
2022-05-25 17:54:39 -04:00
chris constantinescu
28111d40fc Redundancy cleanup in UBT Low Level Tests:
- test-specific targets and modules are constructed by RulesAssembly which removes a lot of spaghetti code
- no more excluding the Tests folder by default which is guaranteed to mislead users #fyi Jon.Nabozny
- test compilation in Tests is controlled through WITH_LOW_LEVEL_TESTS
- preparation code for switching tests between Catch2 / TestAutomation Fmwk

Nightly LLT PF 6260431391376845adeb4c40

#rnx
#preflight 62602d50dd47b4ad2173c30b

[CL 19834665 by chris constantinescu in ue5-main branch]
2022-04-20 14:24:59 -04:00
Devin Doucette
00c5ef381d UBT: Added VSTestRunSettingsFile to TargetRules
#preflight 624e09ca14634fba5c9563f6
#rb Jonathan.Adamczewski
#fyi Chris.Constantinescu

[CL 19661383 by Devin Doucette in ue5-main branch]
2022-04-06 20:50:46 -04:00
jonathan adamczewski
c1bb6901bf Upgrade to .NET 6.0
#jira UE-119846
#preflight 624cbb2ecc0872e96b0d5181

[CL 19652696 by jonathan adamczewski in ue5-main branch]
2022-04-06 14:46:50 -04:00
jonathan adamczewski
5c68d1d9ef Revert //UE5/Main/... changelist 19531725 - return to NET Core 3.1
#preflight 62422fd0470aff98e946bfce
#jira UE-119846

[CL 19534572 by jonathan adamczewski in ue5-main branch]
2022-03-28 18:25:19 -04:00