[CMake] Possible bug in environment variable expansion?

David Cole dlrdave at aol.com
Fri Aug 15 11:57:12 EDT 2014


There are no "types" for environment variables.

There are types for values stored in the registry.

See this article: http://support.microsoft.com/kb/256986 and note the 
descriptions of REG_SZ and REG_EXPAND_SZ.

The fact that you can do it in RapidEE does not mean it's a built-in 
feature of Windows environment variables. It means they have a nice 
feature built on top of Windows environment variables, ... but you 
can't count on that feature for use from *any* program that deals with 
environment variables. You can only count on it when you are setting an 
environment variable via RapidEE's user interface.


David C.



More information about the CMake mailing list