You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Allows fast iteration of C++ changes without restarting the application. To use, select the "Live Coding (Experimental)" mode from the drop down menu next to the editor's compile button, or type "LiveCoding" into the console for a monolithic build. Press Ctrl+Alt+F11 to find changes and compile.
Changes vs standalone Live++ version:
* UBT is used to execute builds. This allows standard UE4 adaptive unity mode, allows us to reuse object files when we do regular builds, supports using any build executor allowed by UBT (XGE, SNDBS, etc..).
* Adding new source files is supported.
* Custom visualizer for FNames is supported via a weakly linked symbol in a static library (Engine/Extras/NatvisHelpers).
* Settings are exposed in the editor's project settings dialog.
* Standalone application has been rewritten as a Slate app ("LiveCodingConsole"). There is an additional option to start the program as hidden, where it will not be visible until Ctrl+Alt+F11 is hit. Similarly, closing the window will hide it instead of closing the application.
* Does not require a standalone licensed version of Live++.
Known issues:
* Does not currently support class layout changes / object reinstancing
#rb none
#fyi Marc.Audy, Stefan.Boberg, Nick.Penwarden
#jira
[CL 5304722 by Ben Marsh in 4.22 branch]
47 lines
1.6 KiB
C++
47 lines
1.6 KiB
C++
#pragma once
|
|
|
|
#include "CoreTypes.h"
|
|
#include "ILiveCodingServer.h"
|
|
#include "LC_RunMode.h"
|
|
#include <string>
|
|
|
|
class ServerCommandThread;
|
|
|
|
class FLiveCodingServer final : public ILiveCodingServer
|
|
{
|
|
public:
|
|
FLiveCodingServer();
|
|
virtual ~FLiveCodingServer();
|
|
|
|
virtual void Start(const wchar_t* ProcessGroupName) override;
|
|
virtual void Stop() override;
|
|
|
|
virtual void SetLinkerPath(const wchar_t* LinkerPath) override;
|
|
|
|
// ILiveCodingServer implementation
|
|
virtual FBringToFrontDelegate& GetBringToFrontDelegate() override final;
|
|
virtual FClearOutputDelegate& GetClearOutputDelegate() override final;
|
|
virtual FStatusChangeDelegate& GetStatusChangeDelegate() override final;
|
|
virtual FLogOutputDelegate& GetLogOutputDelegate() override final;
|
|
virtual FCompileDelegate& GetCompileDelegate() override final;
|
|
virtual FCompileStartedDelegate& GetCompileStartedDelegate() override final;
|
|
virtual FCompileFinishedDelegate& GetCompileFinishedDelegate() override final;
|
|
virtual FShowConsoleDelegate& GetShowConsoleDelegate() override final;
|
|
virtual FSetVisibleDelegate& GetSetVisibleDelegate() override final;
|
|
|
|
private:
|
|
std::wstring ProcessGroupName;
|
|
ServerCommandThread* CommandThread;
|
|
|
|
FBringToFrontDelegate BringToFrontDelegate;
|
|
FClearOutputDelegate ClearOutputDelegate;
|
|
FStatusChangeDelegate StatusChangeDelegate;
|
|
FLogOutputDelegate LogOutputDelegate;
|
|
FCompileDelegate CompileDelegate;
|
|
FCompileStartedDelegate CompileStartedDelegate;
|
|
FCompileFinishedDelegate CompileFinishedDelegate;
|
|
FShowConsoleDelegate ShowConsoleDelegate;
|
|
FSetVisibleDelegate SetVisibleDelegate;
|
|
};
|
|
|
|
extern FLiveCodingServer *GLiveCodingServer; |