tal-cardreader/subprojects/packagefiles/minhook/meson.build
Farewell_ c047663c90 First working version
The game sometimes crashes, throwing an access violation at offset 00000000002f399a.

I haven't been able to recreate accurately.
2023-05-12 09:52:01 +02:00

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)