]>
Commit | Line | Data |
---|---|---|
1e122324 MAL |
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' | |
6 | ]) | |
328ec32d | 7 | |
1e122324 MAL |
8 | qga_vss = shared_module( |
9 | 'qga-vss', | |
925d05d3 | 10 | ['requester.cpp', 'provider.cpp', 'install.cpp', 'vss-debug.cpp', genh], |
1e122324 MAL |
11 | name_prefix: '', |
12 | cpp_args: ['-Wno-unknown-pragmas', '-Wno-delete-non-virtual-dtor', '-Wno-non-virtual-dtor'], | |
13 | link_args: link_args, | |
14 | vs_module_defs: 'qga-vss.def', | |
15 | dependencies: [ | |
e23460ce MAL |
16 | glib, |
17 | socket, | |
1e122324 MAL |
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') | |
23 | ] | |
24 | ) | |
588a19fa | 25 | |
7272fc72 MAL |
26 | if midl.found() |
27 | gen_tlb = custom_target('gen-tlb', | |
28 | input: 'qga-vss.idl', | |
29 | output: 'qga-vss.tlb', | |
fa142ec8 | 30 | command: [midl, '@INPUT@', '/tlb', '@OUTPUT@']) |
23011f44 | 31 | else |
1dbb74e8 MAL |
32 | gen_tlb = custom_target('gen-tlb', |
33 | input: 'qga-vss.idl', | |
34 | output: 'qga-vss.tlb', | |
35 | command: [widl, '-t', '@INPUT@', '-o', '@OUTPUT@']) | |
7272fc72 | 36 | endif |
f780a3f4 KK |
37 | |
38 | all_qga += [ qga_vss, gen_tlb ] |