[cmake-developers] Ninja passes all tests on OS X

Nicolas Desprès nicolas.despres at gmail.com
Fri Jul 6 12:45:50 EDT 2012


On Fri, Jul 6, 2012 at 3:52 PM, Bill Hoffman <bill.hoffman at kitware.com> wrote:
> On 7/6/2012 7:33 AM, Nicolas Desprès wrote:
>>
>> I agree. Any idea how you would like to re-factor it? I am thinking
>> about using multiple inheritance by introducing a cmOSXBundleGenerator
>> class with CreateFramework and CreateAppBundle. WDYT?
>>
>> Cheers,
>> Nico
>
> Thanks, this is great.
>
> I am not a big fan of multiple inheritance.  What about a helper class?
> cmOSXBundleCreator with the two methods and a pointer to the target and the
> makefile.
>

Both work. Generally I use helper class with language not supporting
multiple inheritance but if you prefer not to use it that's not a
problem. I'll do the patch. Thanks for answering.

Cheers,
Nico



More information about the cmake-developers mailing list