2022-06-13 03:22:52 +00:00
|
|
|
dependencies = []
|
|
|
|
link_with = [inih.get_variable('lib_inih')]
|
|
|
|
|
|
|
|
# Depending on how we're getting access to libpcp, we need some extra work here
|
|
|
|
if libpcp_is_static
|
|
|
|
link_with += libpcp
|
|
|
|
else
|
|
|
|
link_with += amlib
|
|
|
|
dependencies += libpcp
|
|
|
|
dependencies += meson.get_compiler('c').find_library('ws2_32')
|
|
|
|
endif
|
|
|
|
|
2022-06-13 06:42:13 +00:00
|
|
|
rc = import('windows').compile_resources('micekeychip.rc', depend_files: micekeychip_ico)
|
2022-06-13 03:22:52 +00:00
|
|
|
executable(
|
|
|
|
'micekeychip',
|
2022-07-02 15:07:54 +00:00
|
|
|
win_subsystem: subsystem,
|
2022-06-13 03:22:52 +00:00
|
|
|
sources: [
|
|
|
|
'main.c',
|
|
|
|
'mxk.c',
|
|
|
|
'callbacks/appboot.c',
|
|
|
|
'callbacks/billing.c',
|
|
|
|
'callbacks/crypto.c',
|
|
|
|
'callbacks/misc.c',
|
|
|
|
'callbacks/tracedata.c',
|
|
|
|
'callbacks/storage.c',
|
2022-06-13 06:42:13 +00:00
|
|
|
rc,
|
2022-06-13 03:22:52 +00:00
|
|
|
],
|
|
|
|
link_with: link_with,
|
|
|
|
dependencies: dependencies,
|
|
|
|
)
|