aboutsummaryrefslogtreecommitdiff
path: root/src/ext/UI/wixlib/caSuffix.wxi
blob: 18436269787d204a220cbc1e61500afa514dbe8c (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
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->

<Include xmlns="http://wixtoolset.org/schemas/v4/wxs">
    <?ifndef platform ?>
        <?error Required value "platform" not defined in include caSuffix.wxi ?>
    <?endif?>

    <?ifdef Suffix ?>
        <?undef Suffix ?>
        <?undef DeferredSuffix ?>
    <?endif?>

    <?if $(var.platform)="x86" ?>
        <?define Suffix="" ?>
        <?define DeferredSuffix="" ?>
    <?endif?>

    <?if $(var.platform)="x64" ?>
        <?define Suffix="_x64" ?>
        <?define DeferredSuffix="_64" ?>
    <?endif?>

    <?if $(var.platform)="arm" ?>
        <?define Suffix="_ARM" ?>
        <?define DeferredSuffix="_ARM" ?>
    <?endif?>
</Include>