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

Geoffrey Viola Geoffrey.Viola at asirobots.com
Wed Mar 11 13:39:41 EDT 2015


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:brad.king at kitware.com]
Sent: Tuesday, March 10, 2015 7:30 AM
To: Geoffrey Viola
Cc: cmake-developers at cmake.org
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-some-support-for-a-Green-Hills-MULTI.patch
Type: application/octet-stream
Size: 64665 bytes
Desc: 0001-Added-some-support-for-a-Green-Hills-MULTI.patch
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150311/5955c2a1/attachment-0001.obj>


More information about the cmake-developers mailing list