Files
UnrealEngineUWP/Engine/Source/Editor/VirtualizationEditor/Private/VirtualizeProjectCommandlet.h
paul chipchase bfe122f342 Add a new commandlet for virtualizing an entire project.
#rb Per.Larsson
#jira UE-172166
#rnx
#preflight 63c64982d040694ab83efdd1

- Cmdline to use '-run=VirtualizationEditor.VirtualizeProject'.
- The commandlet will first scan the project to find all packages (.uasset/.umap) and then attempt to virtualize them.
- If revision control is enabled then virtualized packages will be checked out using the current settings for the project (so things like -P4Changelist= will work)

[CL 23735820 by paul chipchase in ue5-main branch]
2023-01-17 04:19:43 -05:00

30 lines
808 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Commandlets/Commandlet.h"
#include "UObject/ObjectMacros.h"
#include "VirtualizeProjectCommandlet.generated.h"
/**
* Finds all packages in the project and attempts to virtualize them. If revision control
* is enabled then the commandlet will attempt to checkout the packages that need modification.
*
* Because the commmandlet is the VirtualizationEditor module it needs to be invoked
* with the command line:
* -run=VirtualizationEditor.VirtualizeProject
*/
UCLASS()
class UVirtualizeProjectCommandlet
: public UCommandlet
{
GENERATED_UCLASS_BODY()
//~ Begin UCommandlet Interface
virtual int32 Main(const FString& Params) override;
//~ End UCommandlet Interface
static int32 StaticMain(const FString& Params);
};