Attached is a patch with the recommended changes to add Green Hills MULTI 
support. The process of finding the GHS_COMP_ROOT variable is now programmed in 
cmGlobalGhsMultiGenerator::GetCompRoot. I ran a test with some of those 
changes: 
https://open.cdash.org/viewSite.php?siteid=11862&project=1&currenttime=1426035600.
 I'm currently rerunning them.



Geoffrey Viola
SOFTWARE ENGINEER
asirobots.com



-----Original Message-----
From: Brad King [mailto:[email protected]]
Sent: Tuesday, March 10, 2015 7:30 AM
To: Geoffrey Viola
Cc: [email protected]
Subject: Re: FW: FW: [cmake-developers] Initial Attempt at Green Hill MULTI IDE 
Generator Support

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

This message contains confidential information and is intended only for the 
recipient. If you are not the named addressee you should not disseminate, 
distribute or copy this e-mail. Please notify the sender immediately if you 
have received this e-mail by mistake and delete this e-mail from your system. 
Finally, the recipient should check this email and any attachments for the 
presence of viruses. The company accepts no liability for any damage caused by 
any virus transmitted by this email.

Attachment: 0001-Added-some-support-for-a-Green-Hills-MULTI.patch
Description: 0001-Added-some-support-for-a-Green-Hills-MULTI.patch

-- 

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