summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-05-27 18:47:00 (GMT)
committerBrad King <brad.king@kitware.com>2008-05-27 18:47:00 (GMT)
commitcea66664c561796665bdf2ae74d4b20859f9667d (patch)
tree5e174c307e18950148d012124938c911607370ea /Source/cmSystemTools.h
parent73d5fd31ab1fe62956b7f2ae8ffffeb3a7281708 (diff)
downloadCMake-cea66664c561796665bdf2ae74d4b20859f9667d.zip
CMake-cea66664c561796665bdf2ae74d4b20859f9667d.tar.gz
CMake-cea66664c561796665bdf2ae74d4b20859f9667d.tar.bz2
ENH: Added WOW64 key view support to KWSys SystemTools' windows registry API.
- Add an argument to registry read/write/delete methods to specify a 32-bit or 64-bit view. - Default is the bit-ness of the running program. - See issue #7095.
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index 77b7983..493ff71 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -48,7 +48,8 @@ public:
/**
* Look for and replace registry values in a string
*/
- static void ExpandRegistryValues(std::string& source);
+ static void ExpandRegistryValues(std::string& source,
+ KeyWOW64 view = KeyWOW64_Default);
/**
* Platform independent escape spaces, unix uses backslash,