UBTCommand
Full path:
schola.core.utils.ubt.UBTCommand
schola.core.utils.ubt.UBTCommand
UBTCommand
UBTCommand(ubt_path, project_file, target_platform='Win64', should_package=True, should_clean=True, should_cook=True, fast_cook=True, should_build=True, no_p4=True, prereqs=True, no_compile=True, no_compile_uat=True, configuration='Development', no_debug_info=True, unattended=True, staging_dir=None, force_monolithic=True, maps=<factory>, stdout=True)Bases: object
Dataclass for constructing Unreal Build Tool (UBT) command line arguments.
Methods
| Item | Description |
|---|---|
| init | — |
| build_args | Build and return the complete list of UBT command line arguments. |
Attributes
Parameters
ubt_path (Path | str)
project_file (Path | str)
target_platform (str | None)
should_package (bool)
should_clean (bool)
should_cook (bool)
fast_cook (bool)
should_build (bool)
no_p4 (bool)
prereqs (bool)
no_compile (bool)
no_compile_uat (bool)
configuration (Literal['Development', 'Shipping'])
no_debug_info (bool)
unattended (bool)
staging_dir (str | None)
force_monolithic (bool)
maps (List[str])
stdout (bool)
init
__init__(ubt_path, project_file, target_platform='Win64', should_package=True, should_clean=True, should_cook=True, fast_cook=True, should_build=True, no_p4=True, prereqs=True, no_compile=True, no_compile_uat=True, configuration='Development', no_debug_info=True, unattended=True, staging_dir=None, force_monolithic=True, maps=<factory>, stdout=True)Parameters
ubt_path (Path | str)
project_file (Path | str)
target_platform (str | None)
should_package (bool)
should_clean (bool)
should_cook (bool)
fast_cook (bool)
should_build (bool)
no_p4 (bool)
prereqs (bool)
no_compile (bool)
no_compile_uat (bool)
configuration (Literal['Development', 'Shipping'])
no_debug_info (bool)
unattended (bool)
staging_dir (str | None)
force_monolithic (bool)
maps (List[str])
stdout (bool)
Returns
None
all_maps
all_maps: boolbuild_args
build_args()Build and return the complete list of UBT command line arguments.
Returns
The complete list of UBT command line arguments.
Return type: List[str]
configuration
= 'Development' configuration: Literal['Development', 'Shipping']fast_cook
= True fast_cook: boolforce_monolithic
= True force_monolithic: boolmaps
maps: List[str]no_compile
= True no_compile: boolno_compile_uat
= True no_compile_uat: boolno_debug_info
= True no_debug_info: boolno_p4
= True no_p4: boolprereqs
= True prereqs: boolproject_file
project_file: Path | strshould_build
= True should_build: boolshould_clean
= True should_clean: boolshould_cook
= True should_cook: boolshould_package
= True should_package: boolstaging_dir
= None staging_dir: str | Nonestdout
= True stdout: booltarget_platform
= 'Win64' target_platform: str | Noneubt_path
ubt_path: Path | strunattended
= True unattended: bool