jadeite/injector/launcher_payload/meson.build

22 lines
536 B
Meson
Raw Normal View History

2023-06-05 21:23:08 +00:00
# Assemble the payload that will be injected into the game
l_payload_bin = asm_gen.process(
'src/payload.asm',
extra_args: [ str_include_dir ]
)
2023-06-05 21:23:08 +00:00
# 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,
2023-06-05 21:23:08 +00:00
name_prefix: ''
)