1 link_args = cc.get_supported_link_arguments([
2 '-fstack-protector-all',
3 '-fstack-protector-strong',
4 '-Wl,--add-stdcall-alias',
5 '-Wl,--enable-stdcall-fixup'
8 qga_vss = shared_module(
10 ['requester.cpp', 'provider.cpp', 'install.cpp', 'vss-debug.cpp', genh],
12 cpp_args: ['-Wno-unknown-pragmas', '-Wno-delete-non-virtual-dtor', '-Wno-non-virtual-dtor'],
14 vs_module_defs: 'qga-vss.def',
18 cc.find_library('ole32'),
19 cc.find_library('oleaut32'),
20 cc.find_library('shlwapi'),
21 cc.find_library('uuid'),
22 cc.find_library('intl')
27 gen_tlb = custom_target('gen-tlb',
29 output: 'qga-vss.tlb',
30 command: [midl, '@INPUT@', '/tlb', '@OUTPUT@'])
32 gen_tlb = custom_target('gen-tlb',
34 output: 'qga-vss.tlb',
35 command: [widl, '-t', '@INPUT@', '-o', '@OUTPUT@'])
38 all_qga += [ qga_vss, gen_tlb ]