Commit Graph

516 Commits

Author SHA1 Message Date
Robert Millar
d1ae213d52 Server mode for UBT for use by VS Code extension. Provides compile configuration on demand, responding to commands over stdin in json format.
VS Code project file generator argument to skip compile commands json files.
VS Code project file generator adds VS Code extension id as configuration provider to configurations.
Add optional implementable funcion for toolchains to return the path to default C++ compiler.
Add rootdirectory= argument to provide root directory if UBT is published to a different directory than standard.

#jira none
#preflight 635c08e6052cb0bae6a5371a

[CL 22831178 by Robert Millar in ue5-main branch]
2022-10-28 12:59:39 -04: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
Josh Adams
2e03486229 - Remove unused orientation parameters from GeneratePList, etc functions
#rb trivial
#preflight 63517e3e3d41a4455a390431

[CL 22661134 by Josh Adams in ue5-main branch]
2022-10-20 13:07:40 -04:00
Josh Adams
9ced2f36be - Fixed VSMac project generation
#rb joe.kirchoff
#okfrogithub public
#preflight 634d78d19c29024c9834f89b

[CL 22567001 by Josh Adams in ue5-main branch]
2022-10-17 12:07:45 -04:00
calvin zheng
f3f22de9e3 Fix creating cpp projects cannot run editor correctly
#jira UE-166010
#rb Josh.Adams
#preflight 63488b173c37eed4811dd83e
#lockdown rolando.caloca

[CL 22537874 by calvin zheng in ue5-main branch]
2022-10-14 18:38:15 -04: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
calvin zheng
6300a2f9a3 Fix code sign error on QAGCookedEditor
#jira UE-165547
#preflight 633ef83fb20780acc19e2b7f
#rb rolando.caloca,josh.adams
#lockdown rolando.caloca

[CL 22388849 by calvin zheng in ue5-main branch]
2022-10-06 20:10:51 -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
joe kirchoff
0b357878a3 UnrealBuildTool: Revert initial visual studio selection logic back to how it was before the downgrade logic was added. It will still downgrade to 2019 if a platform sdk requires it.
#rnx
#rb trivial
#preflight none

[CL 22142152 by joe kirchoff in ue5-main branch]
2022-09-22 15:05:33 -04:00
josh adams
b4b723bfa6 - More modernization of Xcode, focusing on Mac, IOS plist still needs a lot of work
- Premade "template" plist files for Mac, MacEditor, IOS, and added a PlistMode to choose between updating a template plist (from engine) or using a "baked" out plist that Xcode won't really mess with (this is still a work in progress, as it still needs thought on how to handle IOS premade vs Mac template, etc)
- Updating icons to using xcassets instead of .icns file
- Added post build step for UBT to write out build versions (increments each build) to a .xcconfig for Xcode to put into the .plist, but it reads previous value. Not terrible, but it still  needs work

#rb adam.king
#preflight 632c7e8ee23e50651b43139b

[CL 22137251 by josh adams in ue5-main branch]
2022-09-22 11:42:27 -04:00
Joe Kirchoff
da7e506b3c UnrealBuildTool: Option to allow using clang linker when using clang compiler
#jira UE-141794
#preflight  632b7b02d747fe52c8fde58d

[CL 22126361 by Joe Kirchoff in ue5-main branch]
2022-09-21 18:08:19 -04:00
joe kirchoff
f99158f2d2 UnrealBuildTool: Use correct default visual studio toolchain when clang is the compiler instead of always using 2019. Via UDN.
#rnx
#rb none
#preflight 632b4e3dd747fe52c8e825c3

[CL 22121220 by joe kirchoff in ue5-main branch]
2022-09-21 15:46:54 -04:00
joe kirchoff
9cb4952d3c UnrealBuildTool: Support automatically downgrading project if platform sdk does not support a version of visual studio
This is required to update the default visual studio version, however that change is currently on hold due to a compiler issue

#rnx
#rb trivial
#preflight 6328f2df826e0c2fe90f097a

[CL 22088638 by joe kirchoff in ue5-main branch]
2022-09-20 00:48:51 -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
Bertrand Carre
241e69db84 Mac: Allow to launch UE Editor through XCode without commandline
#jira none
#review-22029391 @Josh.Adams @Rafa.Lecina
#preflight 632482cc3752284a318025a7

[CL 22049175 by Bertrand Carre in ue5-main branch]
2022-09-16 10:30:38 -04:00
Josh Adams
47372e99ae - Better solution for Xcode 14 requiring plist file for Mac local signing:
* Remove the "Mac short circuit" blocks of code in the project generator as it was skipping the code that sets up PLIST and BUNDLE_IDENT settings (which Xcode14 will need)
* Point Xcode at the temp plist files that project generator makes
* Make sure to copy the final plist on top of the temp plist file so Xcode will pull that one into the .app at the end
#preflight 6323ef8b74361465143e1b86

[CL 22045794 by Josh Adams in ue5-main branch]
2022-09-15 23:54:29 -04:00
Josh Adams
6dc98e43ae - Fixed bad xcode project format, missing a "
#jira UE-163738
#rb trivial
#preflight skip

[CL 22015002 by Josh Adams in ue5-main branch]
2022-09-14 16:13:38 -04:00
josh adams
6ba6e383d9 - Fix xcode 14 for mac that needs a plist generated for it
#rb adam.king,zack.neyland
#jira UE-156920
#preflight 631fb26a551a6a2554c16e2a

[CL 21986553 by josh adams in ue5-main branch]
2022-09-13 13:16:01 -04:00
robert millar
f55dc0a8d3 Add an option to include the CPP/WinRT language projection headers. Set TargetWindowsVersion to configured value when using Windows 10 SDK.
#rb joe.kirchoff

[CL 21828373 by robert millar in ue5-main branch]
2022-09-06 16:23:06 -04:00
joe kirchoff
c40bc8f0d5 [Backout] - CL21728329
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealBuildTool: Set VS2022 as default compiler and generated solution if all available platforms are supported
Add messaging when generating if the default solution must be downgraded to VS2019 due to a platform that does not support VS2022
Unban 17.3-14.33

#rb Francis.Hurteau
#rb Josh.Adams
#preflight 63080ed91670d55ad5de0945
#preflight 630fb22c660db81edbbe7d12

[CL 21732165 by joe kirchoff in ue5-main branch]
2022-08-31 19:25:13 -04:00
Joe Kirchoff
3384dbfc26 UnrealBuildTool: Set VS2022 as default compiler and generated solution if all available platforms are supported
Add messaging when generating if the default solution must be downgraded to VS2019 due to a platform that does not support VS2022
Unban 17.3-14.33

#rb Francis.Hurteau
#rb Josh.Adams
#preflight 63080ed91670d55ad5de0945
#preflight 630fb22c660db81edbbe7d12

[CL 21728329 by Joe Kirchoff in ue5-main branch]
2022-08-31 16:55:58 -04:00
Joe Kirchoff
b9d2ffdc2f UnrealBuildTool: Allow generating visual studio solutions even if no valid toolchains are installed, as the user can now open the solution to install those needed components.
#jira UE-162369
#rnx
#rb trivial
#preflight 630d395b556fc14dce5458d1

[CL 21690511 by Joe Kirchoff in ue5-main branch]
2022-08-29 18:18:18 -04:00
Joe Kirchoff
f8512512ba UnrealBuildTool: Generate .vsconfig that recommends Visual Studio components to be installed, this will prompt the user to run the installer in the Solution Explorer
PR #9185 (inspired by)

#rb Francis.Hurteau
#jira UE-151859
#preflight 63092a22e45e4787a3f889fb

[CL 21598167 by Joe Kirchoff in ue5-main branch]
2022-08-26 16:33:56 -04:00