diff options
Diffstat (limited to 'src/ext/UI/wixlib/caSuffix.wxi')
-rw-r--r-- | src/ext/UI/wixlib/caSuffix.wxi | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/ext/UI/wixlib/caSuffix.wxi b/src/ext/UI/wixlib/caSuffix.wxi new file mode 100644 index 00000000..18436269 --- /dev/null +++ b/src/ext/UI/wixlib/caSuffix.wxi | |||
@@ -0,0 +1,27 @@ | |||
1 | <!-- 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. --> | ||
2 | |||
3 | <Include xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
4 | <?ifndef platform ?> | ||
5 | <?error Required value "platform" not defined in include caSuffix.wxi ?> | ||
6 | <?endif?> | ||
7 | |||
8 | <?ifdef Suffix ?> | ||
9 | <?undef Suffix ?> | ||
10 | <?undef DeferredSuffix ?> | ||
11 | <?endif?> | ||
12 | |||
13 | <?if $(var.platform)="x86" ?> | ||
14 | <?define Suffix="" ?> | ||
15 | <?define DeferredSuffix="" ?> | ||
16 | <?endif?> | ||
17 | |||
18 | <?if $(var.platform)="x64" ?> | ||
19 | <?define Suffix="_x64" ?> | ||
20 | <?define DeferredSuffix="_64" ?> | ||
21 | <?endif?> | ||
22 | |||
23 | <?if $(var.platform)="arm" ?> | ||
24 | <?define Suffix="_ARM" ?> | ||
25 | <?define DeferredSuffix="_ARM" ?> | ||
26 | <?endif?> | ||
27 | </Include> | ||