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

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to