On Fri, Jul 6, 2012 at 3:52 PM, Bill Hoffman <bill.hoff...@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 -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers