Hello,
I have found that using EXEC_PROGRAM with ${CMAKE_COMMAND} -E I can
write/remove a key in the Windows registry but I haven't figured out how
to read a key. Is there a simple solution for that?
Anton
--
Anton Deguet <[EMAIL PROTECTED]>
ERC CISST Johns Hopkins University
___
At 05:36 PM 9/6/2006, Anton Deguet wrote:
>Hello,
>
>I have found that using EXEC_PROGRAM with ${CMAKE_COMMAND} -E I can
>write/remove a key in the Windows registry but I haven't figured out how
>to read a key. Is there a simple solution for that?
Sure, but it seems not to be documented
Sev
Bill,
I had some success with the key expansion but I haven't been able to do
what I need. Basically, I would like to get the un-expanded content of
the user path, i.e. not the expanded path (user and system) which can be
found using $ENV{PATH}.
I tried the following code, i.e. adding two variab
I looks like this has something to do with the nature of the key/value.
For values listed as REG_SZ (within regedit.exe), CMake can retrieve the
content but for values stored as REG_EXPAND_SZ I systematically get
"/registry". I don't know much about the Windows registry but I did a
quick survey of