Commit Graph

586 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
Josh Adams
cf110e2444 - Fixed codesigning of Content only projects
#jira UE-182870
#rb calvin.zheng
#preflight 643499034c3ccbbdf190f66b

[CL 24986156 by Josh Adams in ue5-main branch]
2023-04-10 19:24:00 -04:00
Josh Adams
1e6ed89565 - Frameworks working on Mac with Modern Xcode just like IOS frameworks
- Update frameworks with a Framework mode to differentiate between linking with it and copying to .app (in case of a static lib framework, or load-only dylib
- Updated CEF3 to work as a normal framework (if we have a universal framework binary, it would be simpler, because LoadInMain() would work without any paths)
#rb roman.dzieciol
#preflight 643484117536ac6b78ae7ce3

[CL 24985043 by Josh Adams in ue5-main branch]
2023-04-10 18:08:40 -04:00
Josh Adams
4c3471b8a7 - After staging, Modern xcode projects will build with stub xcode project to generate a complete .app in the root of the staging directory (tested Mac and IOS)
- Fixed up scripts for copying files into mac .app with modern xcode
- Changed bIncludeEngineSource being false to not remove game/samples/mods/etc from projects (only stub xcode projects set it to false, afaict)
#rb zack.neyland
#preflight 642cc4c21d19c0312af476c0

[CL 24922909 by Josh Adams in ue5-main branch]
2023-04-04 20:54:06 -04:00
zack neyland
4a4cb1e663 - Fixed an issue with Xcode having stale bundle identifiers when codesigning BP projects (something old was being cached in Xcode's build cache, this change will force the bundle ID to be there so the cache won't cause problems)
#jira UE-174034
#rb adam.kinge
#preflight https://horde.devtools.epicgames.com/job/642ca39ef376ab43d2979d6c

[CL 24922333 by zack neyland in ue5-main branch]
2023-04-04 20:08:36 -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
Joe Kirchoff
60234ab3bb UnrealBuildTool: Update support for minimum cpu arch for x64 platforms. Replaces ModuleRules.bUseAVX
* Add MinimumCpuArchitectureX64 enum, valid values are None, AVX, AVX2, & AVX512. Default value is None
* Obsolete boolean bUseAVX in favor of MinCpuArchX64
* Add MinCpuArchX64 setting to TargetRules
* Add Optional MinCpuArchX64 to ModuleRules, will override any target setting if not null
* Only pass this /arch for x64 platforms
* Can be controlled on the command line with -MinCpuArchX64=

#jira UE-181851
#rb Bryan.Sefcik
#preflight 6425fc7f91589478cdc7867c

[CL 24861220 by Joe Kirchoff in ue5-main branch]
2023-03-30 17:52:50 -04:00
bryan sefcik
27af9dd7cb Updated to write out the PrimaryProjectName.txt only once even if the contents need to change. This fixes an issue where a certain platform was writing it twice and UBT would throw an warning about the file being written multiple times.
#jira UE-181790
#fyi joe.kirchoff
#preflight 6425bc9c50546ea33649da6f

[CL 24856495 by bryan sefcik in ue5-main branch]
2023-03-30 13:13:51 -04:00
calvin zheng
ee46c2c210 Fix Xcode build on Development config, VALID_ARCHS was not using the correct apple name
#jira UE-181647
#rb Josh.Adams. Zack.Neyland
#preflight 642471b6e11ce5214fa27791
#lockdown Rolando.Caloca

[CL 24849439 by calvin zheng in ue5-main branch]
2023-03-29 21:29:42 -04:00
calvin zheng
10eb3b947a Revert the change of c++11 narrowing warning, it was still erroring
#rb Zack.Neyland
#preflight n/a

[CL 24827082 by calvin zheng in ue5-main branch]
2023-03-28 17:20:47 -04:00
bryan sefcik
87412acf5e Updated the intellisense data to be created in parallel.
#fyi joe.kirchoff
#preflight 6423506d051bec41cdbdfbfb

[CL 24826596 by bryan sefcik in ue5-main branch]
2023-03-28 17:05:50 -04:00
bryan sefcik
46e8628604 Updated the vc projects to be created in parallel.
#fyi joe.kirchoff
#preflight 64220ba5974dfaa53cb64402

[CL 24810549 by bryan sefcik in ue5-main branch]
2023-03-27 17:59:01 -04:00
bryan sefcik
df232bdd38 Updated the PrimaryProjectName.txt not be written out unless it changed.
#fyi joe.kirchoff
#preflight 6421ee8c973e609670b4a9a1

[CL 24807770 by bryan sefcik in ue5-main branch]
2023-03-27 15:53:36 -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
calvin zheng
71db51d18d fix system include which caused some files fail to index, also disable all warnings for index
#rb Josh.Adams
#preflight n/a

[CL 24762977 by calvin zheng in ue5-main branch]
2023-03-23 11:58:01 -04:00
Josh Adams
e449e43c2a - Updating making Mac builds with modern xcode to stage files into the .app via xcode
- Mac and IOS both now run a script in Xcode to rsync from StagedBuilds into the .app
- Mac now generates and runs the xcode project after building (PostBuildSync like IOS) to codesign and pull in staged data, using a new ApplePostBuildSync class to share with IOS
- Added a SingleTarget mode to XcodeProjectGenerator to make a minimal project for PostBuildSync
#rb zack.neyland
#preflight 641a7276bb1320be4166c3fc

[CL 24745546 by Josh Adams in ue5-main branch]
2023-03-22 07:24:29 -04:00
Josh Adams
f650515e01 - Added a parameter to GenerateProjectFiles() to control if it generates the QueryTargets data for the editor (only the first project format needs to do this)
- Disabled it with IOS stub project gneeration that doesn't need the data (it can be slow)
#rb joe.kirchoff
#preflight 641a0b24ec01de1664e1bd7d

[CL 24738624 by Josh Adams in ue5-main branch]
2023-03-21 16:17:30 -04:00
calvin zheng
1b8a9d80ff Disable Xcode header map and a specific C++11 warning. Now almost all files can be compiled for indexing, only 10 files still has errors
#rb Josh.Adams
#preflight n/a

[CL 24725055 by calvin zheng in ue5-main branch]
2023-03-20 17:59:51 -04:00
calvin zheng
a5b5b75c1d Fix typo that flipped -frtti and -fno-rtti
#rb Josh.Adams
#preflight n/a

[CL 24692605 by calvin zheng in ue5-main branch]
2023-03-17 14:00:11 -04:00
LennardF1989
9a67525476 PR #8239: Support for project-specific BuildConfiguration.xml and Programs during project file generation (Contributed by LennardF1989)
Contains some additional changes from Joe.Kirchoff:
* Fix project dependency for rules parent chain
* Always add UnrealBuildTool and AutomationTool .csproj for game targets -except-
* Filter out other non-critial .csproj unless engine programs are included

#jira UE-120122
#jira UE-176963
#preflight 6413c6668354cad0facc7388

[CL 24690813 by LennardF1989 in ue5-main branch]
2023-03-17 12:14:26 -04:00
calvin zheng
4e184cbeff Use direct include in Mac indexing response files, this resolves majority of indexing compile fails.
#rb Josh.Adams
#preflight n/a (not affecting Horde build)

[CL 24678182 by calvin zheng in ue5-main branch]
2023-03-16 16:11:38 -04:00