2023-08-11 23:32:20 +00:00
|
|
|
project('jadeite', 'c', version: '3.0.4')
|
2023-06-05 21:23:08 +00:00
|
|
|
|
|
|
|
nasm = find_program('nasm')
|
|
|
|
gen_res = find_program('gen_resources.sh')
|
|
|
|
|
|
|
|
# Generator for compiling asm files
|
|
|
|
asm_gen = generator(
|
|
|
|
nasm,
|
|
|
|
output: '@BASENAME@.bin',
|
|
|
|
arguments: [
|
2023-06-25 09:32:19 +00:00
|
|
|
'@EXTRA_ARGS@',
|
2023-06-05 21:23:08 +00:00
|
|
|
'-f', 'bin',
|
|
|
|
'@INPUT@',
|
|
|
|
'-o', '@OUTPUT@'
|
|
|
|
]
|
|
|
|
)
|
|
|
|
|
|
|
|
# Payload that gets injected into the game
|
|
|
|
subdir('game_payload')
|
|
|
|
|
|
|
|
# The injector exe and dll
|
|
|
|
subdir('injector')
|