Skip to content

Commit

Permalink
Don't build_by_default when unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
mid-kid committed Jul 28, 2023
1 parent 1954697 commit 69ed266
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 15 deletions.
5 changes: 2 additions & 3 deletions lib/external/NitroSDK/autogen/nitro/fx/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ gen_fx_const_py = find_program('gen_fx_const.py', native: true)
fx_const_h = custom_target('fx_const.h',
input: fx_const_csv,
output: 'fx_const.h',
command: [gen_fx_const_py, '@INPUT@', '@OUTPUT@'],
build_by_default: true
)
command: [gen_fx_const_py, '@INPUT@', '@OUTPUT@']
)
7 changes: 4 additions & 3 deletions res/data/mmodel/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ mmodel_narc = custom_target('mmodel.narc',
knarc_exe,
'-d', '@CURRENT_SOURCE_DIR@/mmodel',
'-p', '@OUTPUT0@'
],
build_by_default: true
]
)

nitrofs_files += mmodel_narc

prebuilt_files = [
'fldeff.narc'
]

foreach f : prebuilt_files
nitrofs_files += fs.copyfile(f)
endforeach
endforeach
6 changes: 3 additions & 3 deletions res/fielddata/encountdata/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ pl_enc_data_narc = custom_target('pl_enc_data.narc',
'@INPUT0@',
'--narc',
'-i', '@SOURCE_ROOT@/include'
],
build_by_default: true
]
)

nitrofs_files += pl_enc_data_narc

prebuilt_files = [
'd_enc_data.narc',
Expand All @@ -27,4 +27,4 @@ prebuilt_files = [

foreach f : prebuilt_files
nitrofs_files += fs.copyfile(f)
endforeach
endforeach
5 changes: 2 additions & 3 deletions res/msgdata/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ pl_msg_narc = custom_target('pl_msg.narc',
knarc_exe,
'-d', '@OUTDIR@/pl_msg',
'-p', '@OUTPUT0@'
],
build_by_default: true
]
)

nitrofs_files += pl_msg_narc
Expand All @@ -21,4 +20,4 @@ prebuilt_files = [

foreach f : prebuilt_files
nitrofs_files += fs.copyfile(f)
endforeach
endforeach
5 changes: 2 additions & 3 deletions res/msgdata/pl_msg/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,6 @@ foreach gmm, key : pl_msg_gmm_keys_dict
'-c', charmap_txt,
'@INPUT0@',
'@OUTPUT0@'
],
build_by_default: true
]
)
endforeach
endforeach

0 comments on commit 69ed266

Please sign in to comment.