LiveCoding: Add a target setting for using the debug version of the console application.

#rb none
#rnx

[CL 6605895 by Ben Marsh in Dev-Build branch]
This commit is contained in:
Ben Marsh
2019-05-22 11:57:41 -04:00
parent cd3b8e7987
commit e60277ec4b
4 changed files with 33 additions and 6 deletions

View File

@@ -46,9 +46,15 @@ void FLiveCodingModule::StartupModule()
ECVF_Cheat
);
#if USE_DEBUG_LIVE_CODING_CONSOLE
static const TCHAR* DefaultConsolePath = TEXT("Binaries/Win64/LiveCodingConsole-Win64-Debug.exe");
#else
static const TCHAR* DefaultConsolePath = TEXT("Binaries/Win64/LiveCodingConsole.exe");
#endif
ConsolePathVariable = ConsoleManager.RegisterConsoleVariable(
TEXT("LiveCoding.ConsolePath"),
FPaths::ConvertRelativePathToFull(FPaths::EngineDir() / TEXT("Binaries/Win64/LiveCodingConsole.exe")),
FPaths::ConvertRelativePathToFull(FPaths::EngineDir() / DefaultConsolePath),
TEXT("Path to the live coding console application"),
ECVF_Cheat
);