[cmake-developers] FW: FW: Initial Attempt at Green Hill MULTI IDE Generator Support

Brad King brad.king at kitware.com
Tue Mar 10 09:29:37 EDT 2015


On 03/10/2015 12:57 AM, Geoffrey Viola wrote:
> Should I still set CMAKE_GHS_COMPILER_ID?

I don't see any reason to set a variable by that name.

>> * Have EnableLanguage compute the exact path to the compiler
>>  tools itself, possibly using GHS_COMP_ROOT.
> 
> I prefer the latter approach
[snip]
> finding the comp root is a bit complicated. The registry keys
> change per version and their does not seem to be a pattern.

This should be achievable in C++ inside a helper method called
from EnableLanguage.  There is no reason to have to use the
CMake language to code it.

> I'll let you know how things work out, after I implement the above.

Great, thanks.

-Brad



More information about the cmake-developers mailing list