UBTCommand
Full path:
schola.core.utils.ubt.UBTCommand
Dataclass for constructing Unreal Build Tool (UBT) command line arguments.
UBTCommand(ubt_path, project_file, target_platform = 'Win64', should_package = True, should_clean = False, 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 = False, maps = <factory>, all_maps = True, stdout = True)Parameters
-
ubt_path(Path) -
project_file(Path) -
target_platform(str) -
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) -
no_debug_info(bool) -
unattended(bool) -
staging_dir(Path) -
force_monolithic(bool) -
maps(List) -
all_maps(bool) -
stdout(bool)
Methods
init
__init__(ubt_path, project_file, target_platform = 'Win64', should_package = True, should_clean = False, 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 = False, maps = <factory>, all_maps = True, stdout = True)Parameters
-
ubt_path(Path) -
project_file(Path) -
target_platform(str) -
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) -
no_debug_info(bool) -
unattended(bool) -
staging_dir(Path) -
force_monolithic(bool) -
maps(List) -
all_maps(bool) -
stdout(bool)
build_args
build_args()Build and return the complete list of UBT command line arguments.
Returns
The complete list of UBT command line arguments.
run
run()Run the UBT command.
Returns
Return type: CompletedProcess
Attributes
all_maps
all_mapsconfiguration
configurationfast_cook
fast_cookforce_monolithic
force_monolithicmaps
mapsno_compile
no_compileno_compile_uat
no_compile_uatno_debug_info
no_debug_infono_p4
no_p4prereqs
prereqsproject_file
project_fileshould_build
should_buildshould_clean
should_cleanshould_cook
should_cookshould_package
should_packagestaging_dir
staging_dirstdout
stdouttarget_platform
target_platformubt_path
ubt_pathunattended
unattended