Move common assembly into a separate file
This commit is contained in:
@ -1,5 +1,11 @@
|
||||
include_dir = include_directories('include')
|
||||
str_include_dir = join_paths(meson.current_source_dir(), 'include')
|
||||
|
||||
# Assemble the payload that will be injected into the launcher
|
||||
inj_payload_bin = asm_gen.process('src/payload.asm')
|
||||
inj_payload_bin = asm_gen.process(
|
||||
'src/payload.asm',
|
||||
extra_args: [ str_include_dir ]
|
||||
)
|
||||
|
||||
# Embed it into the library
|
||||
inj_res_files = custom_target(
|
||||
@ -14,7 +20,7 @@ executable(
|
||||
'jadeite',
|
||||
'src/injector.c',
|
||||
inj_res_files,
|
||||
include_directories: 'include',
|
||||
include_directories: include_dir,
|
||||
name_prefix: ''
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user