tutorial04-1_build_acb.py
3 import cri.atomcraft.project
as acproject
4 import cri.atomcraft.build
as acbuild
7 workunit = acproject.get_workunit(
"WorkUnit_Tutorial")[
"data"]
10 cuesheet_rootfolder = acproject.get_cuesheet_rootfolder(workunit)[
"data"]
12 cuesheet_folder = acproject.get_child_object(cuesheet_rootfolder,
"CueSheetFolder",
"WorkUnit_Tutorial")[
"data"]
14 cue_sheet = acproject.get_child_object(cuesheet_folder,
"CueSheet",
"Tutorial")[
"data"]
17 target_config_folder = acproject.get_global_folder(
"TargetConfigFolder")[
"data"]
19 target_config_pc = acproject.get_child_object(target_config_folder,
"TargetConfigPc",
"PC")[
"data"]
22 print(
"CueSheet「Tutorial」のビルドを開始します")
23 result = acbuild.build_cuesheet(cuesheet, target_config_pc,
None)
25 print(
"CueSheet「Tutorial」のビルドが完了しました。")
27 print(
"CueSheet「Tutorial」のビルドに失敗しました。")