summaryrefslogtreecommitdiff
path: root/scp2/inc
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-09-27 14:05:28 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-09-27 14:05:28 -0500
commit64914e407ccac91fbbaa5022a6854be9a01027f8 (patch)
tree45a106187fd8ec80240286798b7982eb1cb6c686 /scp2/inc
parent6b7d31810b5198ab17ddaccda41e94b253ff2a25 (diff)
vs2012 express support.
vs2012 express does not have atl so one need to --disable-atl and --disable-activex but then the packaging still try to include a few _x64.dll that are not built. Change-Id: I88ca5b9d23febd5a714fb48321dde5424cafceb6
Diffstat (limited to 'scp2/inc')
-rw-r--r--scp2/inc/macros.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/scp2/inc/macros.inc b/scp2/inc/macros.inc
index d9bcf20f14e0..8ea47d98e6ab 100644
--- a/scp2/inc/macros.inc
+++ b/scp2/inc/macros.inc
@@ -427,6 +427,8 @@ End
#ifdef _MSC_VER
+#ifdef BUILD_X64
+
#define REGISTER_PROPERTY_HANDLER_FOR_EXTENSION(extension) \
RegistryItem CONCAT2(gid_Regitem_Software_Microsoft_Windows_CurrentVersion_PropertySystem_PropertyHandlers_,extension) \
ParentID = PREDEFINED_HKEY_LOCAL_MACHINE; \
@@ -445,6 +447,18 @@ End
End
#else
+#endif
+
+#define REGISTER_PROPERTY_HANDLER_FOR_EXTENSION(extension) \
+ RegistryItem CONCAT2(gid_Regitem_Software_Microsoft_Windows_CurrentVersion_PropertySystem_PropertyHandlers_,extension) \
+ ParentID = PREDEFINED_HKEY_LOCAL_MACHINE; \
+ ModuleID = gid_Module_Optional_Winexplorerext; \
+ ComponentCondition = "VersionNT >= 600"; \
+ Subkey = STRING(CONCAT2(SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.,extension)); \
+ Value = "{AE424E85-F6DF-4910-A6A9-438797986431}"; \
+ End
+
+#else
#define REGISTER_PROPERTY_HANDLER_FOR_EXTENSION(extension) // empty
#endif