jadeite/injector/launcher_payload/meson.build
2023-06-25 02:19:24 +03:00

22 lines
536 B
Meson

# Assemble the payload that will be injected into the game
l_payload_bin = asm_gen.process(
'src/payload.asm',
extra_args: [ str_include_dir ]
)
# Embed it into the library
l_res_files = custom_target(
'lpayload.[oh]',
output: [ 'lpayload.o', 'lpayload.h' ],
input: [ l_payload_bin ],
command: [ gen_res, './injector/launcher_payload', '@OUTPUT0@', '@OUTPUT1@', '@INPUT@' ]
)
shared_library(
'launcher_payload',
'src/dll.c',
l_res_files,
include_directories: include_dir,
name_prefix: ''
)