aboutsummaryrefslogtreecommitdiff
path: root/src/ext/VisualStudio/wixlib/caSuffix.wxi
blob: a56a2393e60c7cda9b0654fb3528e3ccb2cfc371 (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
<?xml version="1.0" encoding="utf-8"?>
<!-- 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>