Commit Graph

48 Commits

Author SHA1 Message Date
Peter Sauerbrei
e706287759 Speed up reading and accessing ini files from UAT/UBT
#uat
#ubt
#codereview ben.marsh, wes.hunt

[CL 2691637 by Peter Sauerbrei in Main branch]
2015-09-15 09:29:42 -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
42c53cf179 Change IUEBuildPlatform.ModifyNewlyLoadedModule to IUEBuildPlatform.ModifyModuleRules(). Only modifying the rules object rather than the implementation itself makes it easier to optimize caching module references.
[CL 2672146 by Ben Marsh in Main branch]
2015-08-28 07:27:26 -04:00
Josh Markiewicz
f8d83447e1 #Integration FN->Main from CL#2642868
Engine Source changes

[CL 2645403 by Josh Markiewicz in Main branch]
2015-08-05 15:54:57 -04:00
Peter Sauerbrei
dc1d815f84 refactored the logging system for UAT/UBT to be more like UE4
we now use an enum similar to UE4 with Fatal, Error, Warning, Display, Log, Verbose, and VeryVerbose
Log will only go to the log file unless -verbose is passed on the command line
reduced some of the output from UAT to be Log only

[CL 2631062 by Peter Sauerbrei in Main branch]
2015-07-23 14:51:46 -04:00
Peter Sauerbrei
0c49935ffd Fix for iOS building on PC
Fix for iOS loading ini files for every cpp file

[CL 2590624 by Peter Sauerbrei in Main branch]
2015-06-17 14:54:15 -04:00
Steve Robb
499def698b UBT cleanups:
* Removal of some null checks.
* Some arrays changed to Lists.
* Some lists changed to IEnumerables.
* Some loops changed to Linq actions.
* FilterOnlyModules and FilterGameModules renamed to GetFiltered* functions, which better represent what they do.
* Some indentation fixes.
* Some thrown exceptions moved around to more appropriate locations.

#codereview robert.manuszewski

[CL 2554771 by Steve Robb in Main branch]
2015-05-18 08:16:56 -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
Ben Marsh
6b1d263572 Make bEnableShadowVariableWarnings a per-module setting, so we don't break reuse of shared build intermediates.
#codereview Marc.Audy, Wes.Hunt

[CL 2547047 by Ben Marsh in Main branch]
2015-05-12 08:03:21 -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
Marc Audy
48353a95d3 Allow enabling of shadow variable warning on a per project basis via BuildSettings in Engine.ini
Enable shadow variable warnings by default
Disable shadow variable warnings for Fortnite, Orion, and Ocean

[CL 2521304 by Marc Audy in Main branch]
2015-04-22 13:17:27 -04:00
Jaroslaw Palczynski
085fe20fd0 UBT: Deleting someone's debugging message.
[CL 2484605 by Jaroslaw Palczynski in Main branch]
2015-03-19 11:34:21 -04:00
Peter Sauerbrei
55ef34904d SSH is now ready for use when building iOS from PC
UEPLAT-95
#ios

[CL 2480102 by Peter Sauerbrei in Main branch]
2015-03-16 10:01:04 -04:00
Josh Adams
fa04a1a241 - Removed some log spam
[CL 2475996 by Josh Adams in Main branch]
2015-03-11 19:40:07 -04:00
Josh Adams
064ba6920d - Added support for checking Android build settings to be non-default
- Refactored code to make it easier to check .ini settings for non-default build settings
#codereview peter.sauerbrei

[CL 2475920 by Josh Adams in Main branch]
2015-03-11 18:50:57 -04:00
Matthew Griffin
728ea31018 Removed unnecessary code forcing Rocket build to use Development now that DebugGame is an option. Opted to retain the same intermediate folder naming though as these are technically always development.
Added IsEngineInstalled function to UBT to better explain why some of the Rocket code is different.

#codereview Ben.Marsh

[CL 2472268 by Matthew Griffin in Main branch]
2015-03-09 07:59:37 -04:00
Peter Sauerbrei
2c858adcb7 content-only tool chain changes
#codereview josh.adams

[CL 2464457 by Peter Sauerbrei in Main branch]
2015-02-27 16:10:22 -05:00
Robert Jones
b5a273a278 SDK path editing in editor.
- Added class to hold values (AndroidSDKSettings)
- Added code to Android editor module to setup the values on load
- Changed device detection so that the thread is always started and the SDK path can be changed on the fly
- Changed Platform Target Management Module so that a single platform can be checked via UBT
- Settings can now be sourced from an ini file via temp direct reading code (auto seralisation is disabled until later changes are made)
-- Settings currently not exposed in editor

- Added Mac Environment var setting support

Unreleated
- Envars can now be passed down to process start points in tools

#codereview michael.trepka

[CL 2412194 by Robert Jones in Main branch]
2015-01-20 10:05:42 -05:00
Marcus Wassmer
014d14895a Merge install hook timer from Fortnite branch.
[CL 2387146 by Marcus Wassmer in Main branch]
2014-12-12 12:54:47 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Marcus Wassmer
0e7660a405 Maybe fix build machine timeouts.
[CL 2367406 by Marcus Wassmer in Main branch]
2014-11-21 09:21:46 -05:00
Marcus Wassmer
16b40c3907 Log more autosdks info when running on buildmachines.
#codereview dmitry.rekman

[CL 2366960 by Marcus Wassmer in Main branch]
2014-11-20 18:06:12 -05:00
Lee Clark
f3c85eb381 Initial support for SN-DBS distributed build system. Will be used for compiling for PS4 if SN-DBS is installed and Incredibuild isn't available/enabled.
[CL 2335563 by Lee Clark in Main branch]
2014-10-21 06:47:56 -04:00
Josh Adams
ddea2d2fe0 - Changed UBT to allow for multiple OutputPaths in a given UE binary (this is needed by Android to output multiple .so files per UBT run, for armv7, x86, etc)
#codereview ben.marsh

[CL 2281777 by Josh Adams in Main branch]
2014-09-02 14:26:49 -04:00
Marcus Wassmer
943e7d4c11 Fix AutoSDKs not properly using a fallback manual install when necessary.
#codereview dmitry.rekman

[CL 2272460 by Marcus Wassmer in Main branch]
2014-08-26 14:03:43 -04:00