Commit Graph

169 Commits

Author SHA1 Message Date
Robert Manuszewski
e3d090926d Making BuildConfiguration.bForceUnityBuild take precedence over bFasterWithoutUnity
[CL 2348165 by Robert Manuszewski in Main branch]
2014-11-04 05:27:19 -05:00
Dmitry Rekman
9e04402720 UBT: Changes to project generators.
- Separates CMake generator from makefile one and adds qmake generator.
- Contributed by salamanderrake (PR #560).

#codereview Josh.Adams, Robert.Manuszewski

[CL 2347904 by Dmitry Rekman in Main branch]
2014-11-04 00:22:19 -05:00
Jaroslaw Palczynski
55a53079aa Unable to perform hot-reload due to compilation errors. Fixed.
Additionally fixed some monolithic compilation errors on CIS.

UE-4845

#codereview Robert.Manuszewski
#lockdown James.Dickinson

[CL 2346112 by Jaroslaw Palczynski in Main branch]
2014-10-31 10:27:46 -04:00
Jaroslaw Palczynski
3bacd1bbc5 Fix for AutoStartupModuleList, so it always builds UE4Game shared library in non-monolithic builds which is now required.
[CL 2345988 by Jaroslaw Palczynski in Main branch]
2014-10-31 05:16:43 -04:00
Robert Manuszewski
e3203338d5 TSubobjectPtr removal, phase II. Making sure we're not breaking licensee projects by making subobjects TEMPORARILY public and deprecated (but only for game modules).
#change Made subobjects public again
#change Added temporary privat_subobject macro (defaults to public keyword) to help with changing eveything back later
#change TEMPORARILY moved subobject accessors to cpp fiels so that we don't get deprecation warnings when compiling the engine headers
#change Added DEPRECATED_FORGAME macro which is empty for the engine modules and reverts back to DEPRECATED for game modules

[CL 2345437 by Robert Manuszewski in Main branch]
2014-10-30 17:10:56 -04:00
Jaroslaw Palczynski
2df4ab4b49 [UE-4798] AutostartupModules is not working properly
The auto-startup module list is now compiled to:
1. Exe if the target is a program.
2. Game module binary if the target is game, editor etc.

#codereview Robert.Manuszewski

[CL 2344885 by Jaroslaw Palczynski in Main branch]
2014-10-30 10:07:51 -04:00
Marcus Wassmer
bcd5b9c326 Add GenerateChunks (-manifests) support to Packaging Settings. Read it properly from .ini when setting up ProjectParams.
#codereview josh.adams,peter.sauerbrei

[CL 2341633 by Marcus Wassmer in Main branch]
2014-10-27 17:53:23 -04:00
Ben Marsh
aefe98d209 Fix linking of plugin dependencies in monolithic builds. Two separate issues:
- Unbound dependencies of were plugins assuming that the plugin binary was the executable (rather than a static library)
- Only direct dependencies of the executable were being searched when building up the module list for linking

#codereview Max.Preussner

[CL 2341070 by Ben Marsh in Main branch]
2014-10-27 13:07:30 -04:00
Michael Trepka
f6fade5359 Fixed Unix line endings in UBT's UEBuildTarget.CreateAutoStartupModuleListGetter(). Fixes a problem with UBT rebuilding AutoStartupModuleListGetter.cpp every time.
#codereview Jaroslaw.Palczynski, Robert.Manuszewski, Dmirty.Rekman

[CL 2338721 by Michael Trepka in Main branch]
2014-10-23 13:05:56 -04:00
Robert Manuszewski
d7d739e6c1 Hot-Reload: Fixing more build errors when performing Hot-Reload from IDE. Fix for hot-reloading misc game modules from the editor modules list window or through command line.
[CL 2337067 by Robert Manuszewski in Main branch]
2014-10-22 13:33:53 -04:00
Robert Manuszewski
59cc9e4aa7 Fixing hot-reload errors (missing includes).
#change Making sure AutoStartupModuleListGetter is not being created when doing hot-reload as it's not building the entire target

#codereview jaroslaw.palczynski

[CL 2335732 by Robert Manuszewski in Main branch]
2014-10-21 10:13:44 -04: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
Jaroslaw Palczynski
7f6f4c9549 Couple of fixes for Landscape split out.
[CL 2332956 by Jaroslaw Palczynski in Main branch]
2014-10-17 09:02:40 -04:00
Jaroslaw Palczynski
2d81594711 CIS fix.
[CL 2331511 by Jaroslaw Palczynski in Main branch]
2014-10-16 08:37:23 -04:00
Jaroslaw Palczynski
3f70232f89 CIS fix for bAutoStartupModule that had problems with creating a file when Intermediate directory wasn't created.
[CL 2331373 by Jaroslaw Palczynski in Main branch]
2014-10-16 05:46:48 -04:00
Jaroslaw Palczynski
1b50963ccd Landscape module from Engine split out.
[CL 2331341 by Jaroslaw Palczynski in Main branch]
2014-10-16 05:16:44 -04:00
Dmitry Rekman
4e7220ad26 Set ICU on by default.
Most platforms allow override it to true anyway, but some (Linux) don't, allowing targets to set it up in their SetGlobalEnvironment(). Since you cannot do that in game/editor targets though (see UEBuildTarget.SetupGlobalEnvironment()), default value should be true to get the editor compiled with ICU.

#codereview Robert.Manuszewski

[CL 2330785 by Dmitry Rekman in Main branch]
2014-10-15 17:28:51 -04:00
Ben Marsh
e2d5417d68 Remove RocketGame from UBT!
[CL 2312819 by Ben Marsh in Main branch]
2014-09-29 09:35:05 -04:00
Jaroslaw Palczynski
354877d63e [GitHub] 450 : Added UBT build option to limit number of jobs.
#ttp 347138

[CL 2309629 by Jaroslaw Palczynski in Main branch]
2014-09-25 08:10:40 -04:00
Ben Marsh
0f78891b7d Add a program to bootstrap packaged games, which checks for dependencies being installed (an option to include prerequisites in the game is in the packaging settings), then starts the engine with the right commandline for the project. Takes an icon from Build/Windows/Application.ico if present (which allows setting the icon for content-only projects) or the game executable being launched. Resource files added to code projects now use this icon instead.
[CL 2307139 by Ben Marsh in Main branch]
2014-09-23 13:55:06 -04:00
Josh Adams
4cec25879d - No longer compile Engine.generated.1.cpp and .2.cpp together, as the large resulting code is crashing x86 android compiler.
- Fixed a couple issues with Android fat binaries (cleaning and obb being archived multiple times)
- Touched Engine.h to force a UHT refresh
#codereview Robert.Manuszewski

[CL 2305487 by Josh Adams in Main branch]
2014-09-22 09:46:58 -04:00
Robert Manuszewski
96071afb2d Hot-reload: performing hot-reload when there's been no code changes will no longer result in producing new DLLs.
#ttp 345522: HotReload: Should not try to link DLLs when target is up to date

#change Added code to handle up-to-date state of modules in hot-reload code.
#change Added ECompilationResult::UpToDate and ECompilationResult::Canceled, ECompilationResult::Failed()
#change UBT: added -canskiplink command line param and support for skipping link actions when there was nothing to compile
#change extended the duration of re-compile notifications (TTP# 346604 NUXF-246 Hot compile fail message fades)
#change Added 'Compile Canceled' notification (instead of 'Compile Failed')

[CL 2302307 by Robert Manuszewski in Main branch]
2014-09-18 08:10:17 -04:00
Dmitry Rekman
713fce30f5 UBT: Proper dependencies for modular builds + fix Linux cross-build.
[CL 2300046 by Dmitry Rekman in Main branch]
2014-09-16 16:32:04 -04:00
Justin Sargent
86b14304aa Adding support for programs at the UE4 root level.
[CL 2299936 by Justin Sargent in Main branch]
2014-09-16 15:16:32 -04:00
Robert Manuszewski
a24b92ced6 HotReload: pass -nosharedpch when doing hot-reload or module recompile from the editor instead of forcing off shared pch when passing -editorrecompile to UBT
[CL 2293690 by Robert Manuszewski in Main branch]
2014-09-11 09:28:33 -04:00