Commit Graph

475 Commits

Author SHA1 Message Date
Ben Marsh
78f9a79a21 Remove plugin spam from UProjectInfo.cs
[CL 2636038 by Ben Marsh in Main branch]
2015-07-28 16:56:23 -04:00
Steve Robb
e7d72b489c Swallow exceptions when failing to delete the .buildmutex file.
#codereview robert.manuszewski

[CL 2633764 by Steve Robb in Main branch]
2015-07-27 08:55:36 -04:00
Steve Robb
390519f32b Invalidate include caches if they didn't get saved on the last run (e.g. by UBT termination).
#codereview robert.manuszewski

[CL 2633731 by Steve Robb in Main branch]
2015-07-27 07:50:47 -04:00
Wes Hunt
29b5d10e09 Remove redundant diagnostic spew on actions with PrintDebugInfo enabled.
[CL 2632783 by Wes Hunt in Main branch]
2015-07-24 16:51:02 -04:00
Ben Marsh
9e31e87ce0 Explicitly pass the engine root into ReadAvailablePlugins().
[CL 2632416 by Ben Marsh in Main branch]
2015-07-24 13:23:11 -04:00
Mikolaj Sieluzycki
ddf0f7e588 Add basic UObject thread safety checks to UnrealCodeAnalyzer.
[CL 2631991 by Mikolaj Sieluzycki in Main branch]
2015-07-24 04:48:48 -04:00
Robert Manuszewski
989bed2201 Replacing Console.WriteLine logs with UBT/UAT specific ones.
#codereview Marcus.Wassmer, Ben.Marsh

[CL 2631972 by Robert Manuszewski in Main branch]
2015-07-24 04:38:03 -04:00
Marcus Wassmer
816105af91 More logiging for plugin discovery
[CL 2631608 by Marcus Wassmer in Main branch]
2015-07-23 18:52:28 -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
Ben Marsh
fd048fa54e Handle cases where TargetReceipt.Read() returns null instead of throwing now.
[CL 2629608 by Ben Marsh in Main branch]
2015-07-22 17:06:29 -04:00
Ben Marsh
af29226566 Catch exceptions if the target receipt can't be read.
[CL 2629262 by Ben Marsh in Main branch]
2015-07-22 14:23:53 -04:00
Ben Marsh
dd08437233 Rename BuildReceipt to TargetReceipt, to clarify its purpose.
[CL 2629145 by Ben Marsh in Main branch]
2015-07-22 13:10:12 -04:00
Ben Marsh
1a44a273c1 Rename BuildReceipt.cs to TargetReceipt.cs to clarify what it's purpose is.
[CL 2629138 by Ben Marsh in Main branch]
2015-07-22 13:06:06 -04:00
Dmitry Rekman
6bcdeee200 UBT: fix a number of project generators (UE-18832)
- In-tree code project targets were missing.

#codereview Peter.Sauerbrei

[CL 2627718 by Dmitry Rekman in Main branch]
2015-07-21 13:39:28 -04:00
Matthew Griffin
48b7792c97 Fixed crash that could occur if source folder of a plugin was removed
GetModuleFilename returns an empty string if module can't be found, checking for null meant that it went ahead and tried to load it regardless.

[CL 2627121 by Matthew Griffin in Main branch]
2015-07-21 04:34:09 -04:00
Ben Marsh
a5f534451b Remove the ENGINE_VERSION define from Version.h and ObjectVersion.cpp; it's superceded by GEngineVersion. EngineVersion.cpp now defines the constants GEngineVersionChangelist and GCompatibleWithEngineVersionChangelist, which are used to construct GEngineVersion and GCompatibleWithEngineVersion. Modifying those constants allows updating the engine version separately to the defines used for resource files (allowing UGS to update the version number without triggering all files to be relinked).
[CL 2625344 by Ben Marsh in Main branch]
2015-07-18 16:57:53 -04:00
Wes Hunt
d2a1b60eaa UE-18654 - Fix uses of GetExecutingAssembly in UAT/UBT
#codereview:ben.marsh

[CL 2624862 by Wes Hunt in Main branch]
2015-07-17 16:38:17 -04:00
Ben Marsh
5d2f5d3c9d Attempt to fix exception when trying to resolve include paths on Linux. If we get an exception because the filename exceeds MAX_PATH, it can't be the header we're looking for.
#codereview Robert.Manuszewski
#lockdown Nick.Penwarden

[CL 2623796 by Ben Marsh in Main branch]
2015-07-16 19:15:22 -04:00
Jaroslaw Palczynski
eba5c293bd UE-18712: In editor Compile & Hot Reload always fails.
Fixed hot reload problem caused by CL 2615855.

#lockdown Nick.Penwarden

[CL 2623140 by Jaroslaw Palczynski in Main branch]
2015-07-16 09:59:24 -04:00
yaakuro
1c630d59b1 Add CodeLite support (on Linux) - UE-18561, UE-18564.
- Includes PR #1378 and #1379 (both contributed by yaakuro)
  * Adds CodeLite project generator to UBT (can be invoked on all platforms).
  * Adds CodeLite source accessor plugin (whitelisted for Linux only).
  * Desktop platform/game project generation switched to use .workspace on Linux.
- Minor cleanup (do not recompile UAT and its modules when generating Linux projects).

#codereview Josh.Adams, Robert.Manuszewski, Mike.Fricker

[CL 2621060 by Dmitry Rekman in Main branch]
2015-07-14 18:17:55 -04:00
Michael Noland
09e384f8af Core: Added logging about the command line used to invoke UHT and the duration
[CL 2619364 by Michael Noland in Main branch]
2015-07-13 22:19:09 -04:00
Peter Sauerbrei
a1bc0ddc34 fix for project generation when code signing
#ios

[CL 2619044 by Peter Sauerbrei in Main branch]
2015-07-13 18:13:44 -04:00
Dmitry Rekman
93bd759229 UBT: Extend CMake support to more platforms and other changes (UE-17019, UE-18448).
- Includes PR #1253: Create CMakeLists.txt for OS X with CLion support too (contributed by fsmorygo)
   * cmakefile key for UnrealBuildTool now allows being used on osx and linux
   * CMakeLists.txt now includes two additional sections:
           include_directories()
           add_definitions() for preprocessor definitions

- Includes PR #1372: Project Generator Platform Source/Include Path Exclusion Removal + Makefile/CMakeLists fixes (contributed by salamanderrake).
    * Files for other platforms aren't filtered out so they get indexed for an easier lookup.
    * Fix for missing cmake targets for code-based projects.

- Experimental Windows support (tested on Mac and Linux only).

#codereview Michael.Trepka, Josh.Adams

[CL 2618656 by Dmitry Rekman in Main branch]
2015-07-13 15:11:27 -04:00
Wes Hunt
a4210fbfa5 Change AutomationTool.csproj.References to use ToolsVersion = 4.0 instead of 12.0. Shot in the dark as to why the references don't seem to be working 100% of the time. But this should match the other project stuff anyway.
#codereview:ben.marsh

[CL 2616985 by Wes Hunt in Main branch]
2015-07-10 14:24:00 -04:00
Peter Sauerbrei
e6e2cbaabf fix for occasional failure to build UE4Game after generating projects
#ubt

[CL 2616920 by Peter Sauerbrei in Main branch]
2015-07-10 13:50:17 -04:00