Re: [CMake] How to read a registry key?

2006-09-07 Thread Anton Deguet
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

[CMake] How to read a registry key?

2006-09-06 Thread Anton Deguet
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