summaryrefslogtreecommitdiffstats
path: root/Tools/msi/test/test_files.wxs
blob: 9127ce894819e53427c19d0f2894ad0ed1cdb873 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
    <?define exts=_testcapi;_ctypes_test;_testbuffer;_testimportmultiple;_testmultiphase;_testconsole;_testinternalcapi ?>
    <Fragment>
        <ComponentGroup Id="test_extensions">
            <?foreach ext in $(var.exts)?>
        
            <Component Id="$(var.ext).pyd" Directory="DLLs" Guid="*">
                <File Name="$(var.ext).pyd" KeyPath="yes" />
            </Component>
            
            <?endforeach ?>
        </ComponentGroup>
    </Fragment>
    
    <Fragment>
        <ComponentGroup Id="test_extensions_symbols">
            <?foreach ext in $(var.exts)?>
            
            <Component Id="$(var.ext).pdb" Directory="DLLs" Guid="*">
                <File Name="$(var.ext).pdb" />
            </Component>
            
            <?endforeach ?>
        </ComponentGroup>
    </Fragment>
    
    <Fragment>
        <ComponentGroup Id="test_extensions_d">
            <?foreach ext in $(var.exts)?>
            
            <Component Id="$(var.ext)_d.pyd" Directory="DLLs" Guid="*">
                <File Name="$(var.ext)_d.pyd" />
            </Component>
            <Component Id="$(var.ext)_d.pdb" Directory="DLLs" Guid="*">
                <File Name="$(var.ext)_d.pdb" />
            </Component>
            
            <?endforeach ?>
        </ComponentGroup>
    </Fragment>
</Wix>