diff options
author | Bob Arnson <bob@firegiant.com> | 2020-07-04 19:06:57 -0400 |
---|---|---|
committer | Bob Arnson <bob@firegiant.com> | 2020-07-04 19:09:21 -0400 |
commit | 4082ae7f94346a8db77638ab8f0e06513a53c73a (patch) | |
tree | a624ca8ea9cfd2c1e3e253d9c352c7b54f273704 /src/ca/caDecor.h | |
parent | e2567d00aa073a08f6202d913606857f085b6d52 (diff) | |
download | wix-4082ae7f94346a8db77638ab8f0e06513a53c73a.tar.gz wix-4082ae7f94346a8db77638ab8f0e06513a53c73a.tar.bz2 wix-4082ae7f94346a8db77638ab8f0e06513a53c73a.zip |
Add per-platform custom action support.
Diffstat (limited to 'src/ca/caDecor.h')
-rw-r--r-- | src/ca/caDecor.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ca/caDecor.h b/src/ca/caDecor.h new file mode 100644 index 00000000..da274650 --- /dev/null +++ b/src/ca/caDecor.h | |||
@@ -0,0 +1,13 @@ | |||
1 | #pragma once | ||
2 | // 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. | ||
3 | |||
4 | |||
5 | #if defined(_M_ARM64) | ||
6 | #define CUSTOM_ACTION_DECORATION(f) L"Wix4" f L"_A64" | ||
7 | #elif defined(_M_AMD64) | ||
8 | #define CUSTOM_ACTION_DECORATION(f) L"Wix4" f L"_X64" | ||
9 | #elif defined(_M_ARM) | ||
10 | #define CUSTOM_ACTION_DECORATION(f) L"Wix4" f L"_ARM" | ||
11 | #else | ||
12 | #define CUSTOM_ACTION_DECORATION(f) L"Wix4" f L"_X86" | ||
13 | #endif | ||