Farewell_
c047663c90
The game sometimes crashes, throwing an access violation at offset 00000000002f399a. I haven't been able to recreate accurately.
29 lines
489 B
Meson
29 lines
489 B
Meson
project(
|
|
'minhook',
|
|
'c',
|
|
default_options : ['c_std=c99']
|
|
)
|
|
|
|
sources = files(
|
|
'src/buffer.c',
|
|
'src/hde/hde32.c',
|
|
'src/hde/hde64.c',
|
|
'src/hook.c',
|
|
'src/trampoline.c'
|
|
)
|
|
|
|
includes = include_directories('include')
|
|
|
|
minhook_lib = static_library(
|
|
'minhook',
|
|
sources,
|
|
include_directories: includes,
|
|
)
|
|
|
|
minhook_dep = declare_dependency(
|
|
include_directories: includes,
|
|
link_with: minhook_lib,
|
|
)
|
|
|
|
meson.override_dependency('minhook', minhook_dep)
|
|
|