shared_library( 'mai2hook', name_prefix : '', include_directories : inc, implicit_include_directories : false, vs_module_defs : 'mai2hook.def', c_pch : '../precompiled.h', dependencies : [ capnhook.get_variable('hook_dep'), capnhook.get_variable('hooklib_dep'), xinput_lib, ], link_with : [ aimeio_lib, board_lib, gfxhook_lib, hooklib_lib, mai2io_lib, platform_lib, hooklib_lib, mai2io_lib, platform_lib, unityhook_lib, util_lib, ], sources : [ 'config.c', 'config.h', 'dllmain.c', 'led.c', 'led.h', 'io4.c', 'io4.h', 'mai2-dll.c', 'mai2-dll.h', 'touch.c', 'touch.h', 'unity.h', 'unity.c', ], )