You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#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]
30 lines
808 B
C++
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);
|
|
};
|