Commit Graph

38 Commits

Author SHA1 Message Date
Ben Marsh
0cc6e3dca6 Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

[CL 6631504 by Ben Marsh in Main branch]
2019-05-24 11:51:54 -04:00
jules blok
d2d37aa911 Escape all paths when generating VS project filter files
#jira UE-71727
#rb Jack.Porter

#ROBOMERGE-SOURCE: CL 5439949 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5439986 by jules blok in Main branch]
2019-03-18 20:15:53 -04:00
ben marsh
412a8a1d98 Add Visual Studio 2019 as a compiler for generating intellisense data.
#rb none
#rnx
#jira

#ROBOMERGE-SOURCE: CL 4993256 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 4993257 by ben marsh in Main branch]
2019-02-14 09:28:41 -05:00
Ben Marsh
3e14e12a73 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4737894 by Ben Marsh in Dev-Build branch]
2019-01-16 19:30:43 -05:00
Ben Marsh
f3bed33a46 Fix errors building foreign projects with a space in the path.
#rb none
#rnx

[CL 4735380 by Ben Marsh in Main branch]
2019-01-16 15:02:39 -05:00
Ben Marsh
a22b952aa9 Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

[CL 4718806 by Ben Marsh in Main branch]
2019-01-14 12:11:24 -05:00
Ben Marsh
0883dab58a Fix various issues building code projects from an installed engine build on Windows.
#rb none
#jira UE-68366
#rnx

[CL 4713026 by Ben Marsh in Dev-Build branch]
2019-01-11 15:33:57 -05:00
Ben Marsh
53467c22ef UBT: Deprecate Visual Studio 2015. Still technically supported from source if explicitly selected as the compiler for a particular target, but will not be automatically detected by UBT for building.
#rb none

[CL 4681677 by Ben Marsh in Dev-Build branch]
2019-01-04 11:35:38 -05:00
Ben Marsh
ab043601f1 UBT: Remove the project dependency on ShaderCompileWorker being compiled for any project targets. Instead, SCW is built through the same UBT invocation that builds the editor, allowing files to be built in parallel. This also removes the dependency on ShaderCompileWorker being built for non-editor targets (since Visual Studio does not support per-configuration project dependencies).
#rb none

[CL 4681497 by Ben Marsh in Dev-Build branch]
2019-01-04 10:58:28 -05:00
Ben Marsh
18613194b0 UBT: Allow disabling platform project generation for specific platforms via the BuildConfiguration.xml file, to allow building platforms that don't have Visual Studio integration installed.
Example usage:

<ProjectFileGenerator><DisablePlatformProjectGenerators><Item>Win64</Item><DisablePlatformProjectGenerators><ProjectFileGenerator>

#rb none
#rnx

[CL 4679867 by Ben Marsh in Dev-Build branch]
2019-01-03 16:31:41 -05:00
Ben Marsh
0c9707d678 UBT: Use compiler-generated dependency information for source file dependencies. This ensures that the dependency list is accurate, and makes incremental builds more reliable.
* A standalone Win32 application called cl-filter is used to parse output from running the Visual Studio compiler with the /showIncludes option, and generate a dependency list similar to Clang.
* Actions which produce an external dependency list declare it explicitly. If the dependency list is missing, or any of the contents are out of date, the action is rebuilt.
* The contents of dependency lists are cached by the CppDependencyCache class for future iterations.

#rb none

[CL 4665060 by Ben Marsh in Dev-Build branch]
2018-12-16 14:22:47 -05:00
Ben Marsh
530369c613 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4662695 by Ben Marsh in Dev-Build branch]
2018-12-14 14:49:12 -05:00
Ben Marsh
7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00
Ben Marsh
de9504c818 UBT: Allow project file generator to construct targets and query it directly. Removes a lot of global state, and simplifies code paths through building a target.
#rb none
#rnx

[CL 4603217 by Ben Marsh in Dev-Build branch]
2018-11-28 12:34:31 -05:00
Ben Marsh
0f022f2f46 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none

[CL 4502641 by Ben Marsh in Dev-Build branch]
2018-10-24 13:03:31 -04:00
ben marsh
2ea8e2cd21 Fix Visual Studio prompting to save solution file freshly generated by UBT. Solution configurations for stub projects were not being included.
Also fix natvis file being generated with the incorrect path for foreign projects.

#rb none
#jira UE-65392

#ROBOMERGE-SOURCE: CL 4481063 in //UE4/Release-4.21/...
#ROBOMERGE-BOT: RELEASE (Release-4.21 -> Release-Staging-4.21)

[CL 4481065 by ben marsh in Staging-4.21 branch]
2018-10-17 14:29:24 -04:00
ben marsh
789622a059 Proper fix for exception when generating project files, if the user does not have any valid platforms for building a target.
#rb none
#jira

#ROBOMERGE-SOURCE: CL 4460956 in //UE4/Release-4.21/...
#ROBOMERGE-BOT: RELEASE (Release-4.21 -> Release-Staging-4.21)

[CL 4460958 by ben marsh in Staging-4.21 branch]
2018-10-12 13:43:39 -04:00
ben marsh
dacdb37e22 Fix "Invalid" folder being created when building invalid platform/configuration.
Also includes temporary fix for exception when generating project files.

#rb none
#jira UE-65159

#ROBOMERGE-SOURCE: CL 4460064 in //UE4/Release-4.21/...
#ROBOMERGE-BOT: RELEASE (Release-4.21 -> Release-Staging-4.21)

[CL 4460066 by ben marsh in Staging-4.21 branch]
2018-10-12 11:36:00 -04:00
ben marsh
5b2c536b8a Fix "Invalid" configurations only being generated for Win32, causing VS2015 to complain about incomplete configurations on load. Now generates an "Invalid" configuration for every other platform supported by the project.
#rb none
#jira UE-64996

#ROBOMERGE-SOURCE: CL 4456797 in //UE4/Release-4.21/...
#ROBOMERGE-BOT: RELEASE (Release-4.21 -> Release-Staging-4.21)

[CL 4456806 by ben marsh in Staging-4.21 branch]
2018-10-11 18:54:37 -04:00
ben marsh
c1f6069c7f Add a dummy output to the invalid configuration, to force it to always run.
#rb none
#jira UE-59288

#ROBOMERGE-SOURCE: CL 4454772 in //UE4/Release-4.21/...
#ROBOMERGE-BOT: RELEASE (Release-4.21 -> Release-Staging-4.21)

[CL 4454787 by ben marsh in Staging-4.21 branch]
2018-10-11 16:40:27 -04:00
Ben Marsh
014add9a9f Redo changes that were (deliberately) clobbered in Dev-Main merge.
#rb none

[CL 4450647 by Ben Marsh in Dev-Build branch]
2018-10-11 09:19:19 -04:00
Ben Marsh
983f6e4d86 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none

[CL 4450587 by Ben Marsh in Dev-Build branch]
2018-10-11 09:04:26 -04:00
ben marsh
80bced1121 Fix issues with mismatched solution/project configurations.
* Every C++ project now has an "invalid" configuration. Trying to build any solution configuration which does not apply to the project will now build that, which prints an error rather than building a completely different configuration.
* Available configurations are now parsed from C# files, so the "Release" configuration will now be used if "Development" is not available, and platforms are supported correctly.
* Programs are now built in game and editor configurations.

#rb none
#jira UE-59288

#ROBOMERGE-SOURCE: CL 4432766 in //UE4/Release-4.21/...
#ROBOMERGE-BOT: RELEASE (Release-4.21 -> Release-Staging-4.21)

[CL 4432767 by ben marsh in Staging-4.21 branch]
2018-10-05 14:20:40 -04:00
ben marsh
d35a845858 Output Visual Studio project files in the same format as Visual Studio, and use StringBuilders everywhere to avoid large numbers of string copies.
#rb none
#jira

#ROBOMERGE-SOURCE: CL 4431637 in //UE4/Release-4.21/...
#ROBOMERGE-BOT: RELEASE (Release-4.21 -> Release-Staging-4.21)

[CL 4431638 by ben marsh in Staging-4.21 branch]
2018-10-05 10:26:06 -04:00
Ben Marsh
d16ef6fe9d UBT: Remove the global registration of project file generators. This is now done only when needed (when actually generating project files).
#rb none
#rnx

[CL 4410042 by Ben Marsh in Dev-Build branch]
2018-10-01 09:45:58 -04:00