Commit Graph

201 Commits

Author SHA1 Message Date
chris constantinescu
c45d474014 UnrealVS - do not project prepend project path for Editor configuration in the case of test targets
- Project generation will add a new IsTestTarget property in the "Globals" property group section of the project file for explicit test target projects
- UnrealVS checks for this property and does not change the command line for test targets
- TestRunner removes all project argument logic - that can be passed after --extra-args using -project="Path/To/*.uproject" and/or -projectdir="Path/To/Project"
- OSS and Online global handlers, which occur during the Catch2 session, will read project name and/or directory using SetProjectNameAndDirectory from TestCommon/Initialization.h
#jira UE-189840

[CL 26688348 by chris constantinescu in ue5-main branch]
2023-07-28 17:20:05 -04:00
bryan sefcik
ecec5d7fac Added the system include paths to the common include path logic to propagate the heavily used system include paths up to the common list.
Removed some redundant common path logic that didn't take into account env value limits.

#jira UE-190877

[CL 26594955 by bryan sefcik in ue5-main branch]
2023-07-25 20:28:42 -04:00
joe kirchoff
01a82374aa UnrealBuildTool: Allow configuring toolchain and toolchain version to control what msvc version is used when clang is used to compile
#rb Tim.Smith

[CL 26449366 by joe kirchoff in ue5-main branch]
2023-07-18 17:55:15 -04:00
bryan sefcik
7949d94c62 Removed the redundant writing of the additional options.
#jira

[CL 26376338 by bryan sefcik in ue5-main branch]
2023-07-07 13:16:48 -04:00
bryan sefcik
2b6aa1b68a Updated the VS project generator code to check to see if there are common settings that should apply to all of the source files.
#jira

[CL 26369995 by bryan sefcik in ue5-main branch]
2023-07-05 15:18:51 -04:00
bryan sefcik
8d879983bc Moved the default VS include paths to the common file.
#jira

[CL 26170375 by bryan sefcik in ue5-main branch]
2023-06-21 20:04:42 -04:00
joe kirchoff
b9d5be3238 UnrealBuildTool: Add msvc conformance flags to generated projects for intellisense
#rnx
#jira none
#rb Bryan.Sefcik
#lockdown Aurel.Cordonnier

[CL 25998354 by joe kirchoff in ue5-main branch]
2023-06-14 18:33:35 -04:00
bryan sefcik
450934b44f Support to compile separate files in VS using the "Compile" menu item when you right click on the files.
[FYI] joe.kirchoff
#rb christopher.waters
#jira

[CL 25829893 by bryan sefcik in ue5-main branch]
2023-06-06 17:48:11 -04:00
bryan sefcik
eaab0fef8a Added a common UECommon.props file that contains common properties all VS projects need.
Split the common paths into separate properties to save some memory.

Before: 82.6 MB (86,654,951 bytes)
After: 72.3 MB (75,873,141 bytes)

#rb joe.kirchoff
#preflight 647811487f02573726caf5f6
#jira

[CL 25730657 by bryan sefcik in ue5-main branch]
2023-06-01 12:58:20 -04:00
joe kirchoff
acacd6a8de UnrealBuildTool: More automated code cleanup
* Use object type rather than var
* Remove double newlines
* Use pattern matching

#rnx
#preflight 647780095d23eca37d28a387

[CL 25706751 by joe kirchoff in ue5-main branch]
2023-05-31 13:37:21 -04:00
joe kirchoff
acf80ab609 [Backout] - CL25694851
[FYI] Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: More automated code cleanup

#rnx

[CL 25695155 by joe kirchoff in ue5-main branch]
2023-05-30 19:55:37 -04:00
joe kirchoff
7ed1a39679 UnrealBuildTool: More automated code cleanup
#rnx

[CL 25694864 by joe kirchoff in ue5-main branch]
2023-05-30 19:36:05 -04:00
joe kirchoff
c04da27b3b UnrealBuildTool: More automated code cleanup
#rnx
#preflight 64767efb4b1ead7c7f428c7a

[CL 25693857 by joe kirchoff in ue5-main branch]
2023-05-30 18:59:32 -04:00
joe kirchoff
36d266e932 UnrealBuildTool: Automated code cleanup
#rnx
#preflight 6476799e947ff6973c225619

[CL 25693241 by joe kirchoff in ue5-main branch]
2023-05-30 18:38:07 -04:00
joe kirchoff
57a8fe409c UnrealBuildTool: Use expression body for simple properties and accessors
#rnx
#preflight 64766abcfe6a3b258a04cb50

[CL 25691579 by joe kirchoff in ue5-main branch]
2023-05-30 18:01:50 -04:00
joe kirchoff
a53dc3cf98 Prevent fatal error when generating projects if there's an error creating the TargetRules that can be ignored
#rnx
#rb trivial

[CL 25515660 by joe kirchoff in ue5-main branch]
2023-05-17 16:22:48 -04:00
joe kirchoff
2fce65608d UnrealBuildTool: Add msvc conformance flags to generated projects for intellisense
#rnx
#rb trivial

[CL 25345886 by joe kirchoff in ue5-main branch]
2023-05-04 19:40:36 -04:00
bryan sefcik
dc02f727ea Small opts in the project generation code.
#p4v-preflight-copy 25094409
#preflight 643f034e0a5a4b944e9bce2c

[CL 25095304 by bryan sefcik in ue5-main branch]
2023-04-18 17:19:15 -04:00
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
bryan sefcik
d4379d0f03 Remove redundant saving of the AutomationTool.csproj.References file.
#fyi joe.kirchoff
#preflight 641de208803cb466e853fe00

[CL 24783615 by bryan sefcik in ue5-main branch]
2023-03-24 14:15:34 -04:00