Commit Graph

38 Commits

Author SHA1 Message Date
Ben Marsh
2802f43c08 Convert everything in UBT to use standard C# XML comments, so IntelliSense can display useful information in tooltips.
[CL 2704759 by Ben Marsh in Main branch]
2015-09-24 13:47:13 -04:00
Ben Marsh
df83418aeb Auto-format UBT for consistent spacing. All default Visual Studio settings, but tabs instead of spaces.
[CL 2704665 by Ben Marsh in Main branch]
2015-09-24 12:37:21 -04:00
Ben Marsh
5a77694bbb Removing a bunch of static variables for the project file in UBT.
[CL 2695050 by Ben Marsh in Main branch]
2015-09-17 09:15:44 -04:00
Ben Marsh
7fa8b50279 Optimize an inner loop that runs over all files that get added to a project. Path.GetDirectoryName() is pretty slow, and if we're running using full paths we don't need to validate it again.
[CL 2678737 by Ben Marsh in Main branch]
2015-09-03 11:41:30 -04:00
Ben Marsh
85273e9312 Allow UBT to wait on being able to run if the -waitmutex parameter is specified, and add it to the default command line from generated project files. Restores ability to build the entire solution from Visual Studio and have all UBT runs serialized.
#jira UE-20699
#codereview Wes.Hunt

[CL 2678456 by Ben Marsh in Main branch]
2015-09-03 09:18:45 -04:00
Ben Marsh
9610023ca5 Use FileReference and DirectoryReference classes instead of strings for paths. Massively reduces the amount of paranoid calls to GetFullPath(), CleanDirectorySeparators() et al., and improves performance for really common UBT operations like making relative paths or checking if files are under a directory. Strong typing ensures that intention of parameters is explicit.
[CL 2678429 by Ben Marsh in Main branch]
2015-09-03 08:47:24 -04:00
Ben Marsh
5498742642 Escape characters in filenames which aren't valid in XML attributes.
[CL 2671097 by Ben Marsh in Main branch]
2015-08-27 12:46:47 -04:00
Mike Fricker
abc3f3c637 [INTEGRATE] Unreal Build Tool: Make Unity builds more deterministic
- Before creating unity blobs, we now sort all full file paths alphabetically
- This allows for better build system determinism across computers
- Important:  It's possible this checkin can introduce compile errors for projects that have outstanding non-unity issues!

[CL 2666189 by Mike Fricker in Main branch]
2015-08-24 12:27:44 -04:00
Chris Babcock
e320e7ec3d Update project generator for AndroidWorks compatibility
Reordered vcxproj to better follow:
http://blogs.msdn.com/b/visualstudio/archive/2010/05/14/a-guide-to-vcxproj-and-props-file-structure.aspx
#ue4
#android
#codereview Niklas.Smedberg,Mike.Fricker,Gil.Gribb

[CL 2596354 by Chris Babcock in Main branch]
2015-06-22 19:46:46 -04:00
Ben Marsh
8e92447429 Output an error if trying to compile a target for an unsupported platform in Rocket (eg. editor in Win32).
[CL 2565567 by Ben Marsh in Main branch]
2015-05-26 16:04:12 -04:00
Mike Fricker
ca39745810 Renamed WinUAP platform to UWP
- Microsoft renamed Universal App Platform to Universal Windows Platform
- https://msdn.microsoft.com/en-us/library/dn894631.aspx

[CL 2547380 by Mike Fricker in Main branch]
2015-05-12 12:00:23 -04:00
Mike Fricker
c42c529d78 Fixed Visual C++ project files not being compatible with VS 2015 ("-2015" option)
- We now emit ConfigurationType properties all of the possible valid project and configuration combinations for the project
- This fixes Visual Studio 2015 from reporting the project files as "Visual Studio 2010" files and offering to upgrade them
- This also results in "correct" Visual C++ project files for VS 2013 as well

[CL 2539689 by Mike Fricker in Main branch]
2015-05-06 15:03:25 -04:00
Mike Fricker
f390feeee2 Unreal Build Tool: Fixed incorrect VS tools versions set in VC++ project files
[CL 2539380 by Mike Fricker in Main branch]
2015-05-06 11:53:12 -04:00
Mike Fricker
65bbc0e732 Initial Unreal Build Tool support for Visual Studio 2015 and UAP (disabled by default)
- Merged in Microsoft's Unreal Build Tool changes for VS 2015 support, and Universal App Platform support
- VS 2015 support is disabled by default (the engine is not yet compiling with VS 2015)
- Use the new '-2015' option when generating project files to enable VS 2015 support
- Windows SDK 8.1 is used by default.  To use Windows SDK 10, enable WindowsPlatform.bUseWindowsSDK10
- UAP support is disabled (not supported yet, work in progress.)  Use WinUAPPlatform.bEnableUAPSupport to enable it.
- Various loose ends still remain (search for "@todo UAP" in Unreal Build Tool code)

[CL 2537920 by Mike Fricker in Main branch]
2015-05-05 15:32:10 -04:00
Ben Marsh
d271530fe0 Allow using both Win32 and Win64 in Rocket builds.
[CL 2535196 by Ben Marsh in Main branch]
2015-05-03 09:12:14 -04:00
Jeff Campeau
69b60e16cb AppxManifest and Resource files for Xbox One generated on the fly.
Settings used to generate these made settable from the editor.

[CL 2521784 by Jeff Campeau in Main branch]
2015-04-22 17:05:11 -04:00
Ben Marsh
0116941f19 Shorten the -precompilemodules argument to -precompile, and -useprecompiledmodules to -useprecompiled.
[CL 2493651 by Ben Marsh in Main branch]
2015-03-27 09:13:06 -04:00
Ben Marsh
23549bf631 Add -useprecompiledmodules to build command lines if specified on the command line to GenerateProjectFiles.bat.
#codereview Michael.Trepka, Dmitry.Rekman

[CL 2493601 by Ben Marsh in Main branch]
2015-03-27 08:03:00 -04:00
Ben Marsh
f1e4616bf1 Back out changelist 2478517
[CL 2478555 by Ben Marsh in Main branch]
2015-03-13 10:52:15 -04:00
Ben Marsh
51b5ffa24e Remove some more unnecessary ref keywords.
[CL 2478517 by Ben Marsh in Main branch]
2015-03-13 10:21:51 -04:00
Matthew Griffin
9f5badceb2 [INTEGRATE] Change 2426198 by Ben.Marsh@Ben.Marsh_T3245_Clean on 2015/01/30 14:56:31
Include engine source folders in the Intelisense search paths. Allows debugger to find source in Rocket.

	#codereview Mike.Fricker

[CL 2433487 by Matthew Griffin in Main branch]
2015-02-05 09:13:03 -05:00
Ben Marsh
d8c7bbb835 [INTEGRATE] Change 2424081 by Ben.Marsh@Ben.Marsh_T3245_Clean on 2015/01/29 13:29:21
Fix for generating engine project files under Rocket, when we don't have any target files. Generate a stub project instead.

[CL 2425973 by Ben Marsh in Main branch]
2015-01-30 11:52:22 -05:00
Ben Marsh
006d5addcc [INTEGRATE] Change 2423747 by Ben.Marsh@Ben.Marsh_T3245_Clean on 2015/01/29 10:14:07
Move anonymous function for writing pre-default properties into a normal function.

[CL 2425940 by Ben Marsh in Main branch]
2015-01-30 11:32:24 -05:00
Ben Marsh
ba30e22f1a [INTEGRATE] Change 2420813 by Ben.Marsh@Ben.Marsh_T3245_Clean on 2015/01/27 14:28:27
Fix missing engine folder in Rocket projects, and clarify message about building UE4Editor et al.

[CL 2425773 by Ben Marsh in Main branch]
2015-01-30 10:29:18 -05:00
Ben Marsh
19abf1f176 Include engine source in Rocket projects (but don't build anything).
[CL 2411189 by Ben Marsh in Main branch]
2015-01-19 14:35:40 -05:00