This submission allows the end user to launch onto any platform using a profile created inside of the UFE.
Allows for easier scripting for testing and launching your project.
To run:
UnrealFrontend.exe -Run="LAUNCHPROFILE" -PROFILENAME="THE_NAME_OF_YOUR_CUSTOM_PROFILE"
**Changes and Additions**
Added LaunchFromProfileCommand.h/.cpp
--Checks if '-ProfileName=' is used and is correct.
--Loads the LaucherServicesModules and DeviceServicesModules
----Gets the Device Proxy Manager
----Gets the Profile Manager which is needed to find the named profile.
--A launcher is created that uses the profile and DeviceProxyManager to read the profile and trigger a build, cook, and launch of it.
--Logging from the launch will be shown in the command window.
--Keeps running until the launcher broadcasts that it has either completed or has been cancelled.
UnrealFrontendMain.cpp
Task Related:
--Added the launch profile command to the command if/else statement.
--Added helpful comments.
Improvements and General Fixes:
--Added a check to verify that a command is actually given with -Run. Logs a warning if none exist.
--Fixed an issue where the -messaging command line check was returning incorrectly. It will now only add '-messaging' if it actually does not exist in the command line already.
--Added a command line check where if you run with -run then -log will be appended to the command line if it isn't already. This allows us to receive logging onscreen.
#CodeReview: adric.worley, justin.hair, marcus.wassmer, jason.bestimt, bob.ferreira, ben.salem, brad.angelcyk
--------
Integrated using branch UE4-Orion-To-UE4 of change#2675868 by Justin.Hair on 2015/09/01 14:50:30.
[CL 2680596 by Justin Hair in Main branch]
- The code that handles initial setup (command line processing, rlimits and debugger) is now shared between engine, UFE and SlateViewer.
[CL 2679796 by Dmitry Rekman in Main branch]
Changed everything using SlateReflector to list it as a dynamic dependency. Nothing should ever need to link directly to SlateReflector as it just provides an interface for spawning the various debug UIs, such as the WidgetReflector.
Went through and made sure that the Engine/Runtime modules that use SlateReflector aren't using it in a shipping build. Also removed the testing code from AppFramework, and made sure that you can't try and spawn the test suite in a shipping build.
[CL 2660803 by Jamie Dale in Main branch]