60 Commits

Author SHA1 Message Date
real-mikhail
298f166949 PR #11411: Fixes for Rider project file generator
#jira UE-205866

[CL 32498428 by real-mikhail in 5.4 branch]
2024-03-26 01:54:19 -04:00
joe kirchoff
dc2ec4926a UnrealBuildTool: Skip generating invalid platforms for client targets
#rnx

[CL 32484592 by joe kirchoff in 5.4 branch]
2024-03-25 17:02:50 -04:00
real-mikhail
b64a9ed6a9 PR #11163: [Rider] Expose additional project properties from UBT to Rider
#jira UE-201275

[CL 31015041 by real-mikhail in 5.4 branch]
2024-01-30 14:05:13 -05:00
real-mikhail
0810e969fc PR #11261: [Rider] Fixed missing toolchain include paths on Linux
#jira UE-203276

[CL 31014497 by real-mikhail in 5.4 branch]
2024-01-30 13:54:23 -05:00
real-mikhail
1e5538bca3 PR #11227: [Rider] Fixed missing system include paths on macOS
#jira UE-202485

[CL 31013982 by real-mikhail in 5.4 branch]
2024-01-30 13:46:14 -05:00
real-mikhail
92b4c04be7 PR #10946: [Rider] Fix IntelliSense by adding include order deprecation defines
#jira UE-197129

[CL 31013513 by real-mikhail in 5.4 branch]
2024-01-30 13:34:56 -05:00
real-mikhail
e13c84b17e PR #10594: Add list of subrules files to generated Rider project files.
#jira UE-189832

[CL 31013369 by real-mikhail in 5.4 branch]
2024-01-30 13:30:44 -05:00
real-mikhail
dc226e34e9 PR #10515: Add architecture info to Rider project files
#jira UE-188319

[CL 31013240 by real-mikhail in 5.4 branch]
2024-01-30 13:27:15 -05:00
real-mikhail
708ff99fa1 PR #11345: Fix for rebuilding whole Unreal Engine sources in Rider
#jira UE-204286

[CL 30813249 by real-mikhail in ue5-main branch]
2024-01-23 14:25:03 -05:00
halfdan ingvarsson
56d52bb0e4 UBT: Allow toolchains to provide system include path information for Rider project generation.
#jira UE-202600
#rb Josh.Adams
#rnx

[CL 30314777 by halfdan ingvarsson in ue5-main branch]
2023-12-14 01:45:26 -05:00
bryan sefcik
ca12a1a2e0 Cleaned up the project generator API by passing a struct of commonly used arguments. This makes it easier for us to add/remove arguments.
#rb joe.kirchoff
#jira

[CL 26854215 by bryan sefcik in ue5-main branch]
2023-08-04 14:18:11 -04:00
Josh Adams
b0e29c9e75 - Added basic support for compiling Swift code (not general purpose yet, only the UESwift.swift file in this CL will work for now)
- Added an example SwiftUI view shown on VisionOS, using UIHostingViewController (must be created in Swift, not Obj-C)
- Refactored AppleToolChainSettings and children so AppleToolChain can have a single Swift compile function, and still target the proper toolchain (more cleaning up and pulling into AppleToolChain should now be possible)
#rb joe.kirchoff

[CL 26346396 by Josh Adams in ue5-main branch]
2023-06-30 12:08:50 -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
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
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
ff81794e79 Windows ARM64EC fixes.
#fyi josh.adams
#preflight 63d1c8b96a14d8406d8bc780

[CL 23862381 by bryan sefcik in ue5-main branch]
2023-01-25 19:48:06 -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
DecoyRS
6e9e383c0e PR #9958: Fixing generating Rider project model (Contributed by DecoyRS)
#preflight 63b4760cc6265e21bc034e3d

[CL 23568081 by DecoyRS in ue5-main branch]
2023-01-03 13:46:11 -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
joe kirchoff
4bd342fb6c UnrealBuildTool: BuildSetting.V3 (currently disabled) which disallows adding module parent directory to include path list
#rnx
#rb bryan.sefcik
#preflight 634df3105f008d633fd571d2

[CL 22798627 by joe kirchoff in ue5-main branch]
2022-10-26 19:13:07 -04:00
joe kirchoff
20c19d6503 [Backout] - CL22754728
[FYI] Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealHeaderTool: BuildSetting.V3 (currently disabled) which disallows adding module parent directory to include path list

#rnx
#rb bryan.sefcik
#preflight 634df3105f008d633fd571d2

[CL 22795918 by joe kirchoff in ue5-main branch]
2022-10-26 18:18:06 -04:00
joe kirchoff
6e28fec987 UnrealHeaderTool: BuildSetting.V3 (currently disabled) which disallows adding module parent directory to include path list
#rnx
#rb bryan.sefcik
#preflight 634df3105f008d633fd571d2

[CL 22793005 by joe kirchoff in ue5-main branch]
2022-10-26 17:30:50 -04:00
real-mikhail
c717e1f3b3 PR #9569: Rider project model: get the list of supported configurations from UnrealBuildTool (Contributed by real-mikhail)
#jira UE-163885
#rb Joe.Kirchoff
#tests Tested in Rider and MSVS

[CL 22058287 by real-mikhail in ue5-main branch]
2022-09-16 15:53:01 -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