[cmake-developers] Automatic -F addition for frameworks?

2013-07-10 Thread Stephen Kelly
Hi, I've been looking into a patch to add an include directory automatically when a framework is used. For example: target_link_libraries(sometarget LINK_PRIVATE ${FOO}) if ${FOO}/.. is a framework path, then add ${FOO}/.. to the INCLUDE_DIRECTORIES of sometarget (at generate time). This

Re: [cmake-developers] Automatic -F addition for frameworks?

2013-07-10 Thread Stephen Kelly
Brad King wrote: IIUC currently real library paths like foo.framework/foo have no special handling right now. They are (correctly) not split and there is no include directory added for them. Correct. So, the question is: do we want to add *new* special handling for library paths inside

Re: [cmake-developers] Automatic -F addition for frameworks?

2013-07-10 Thread Brad King
On 07/10/2013 11:21 AM, Stephen Kelly wrote: Brad King wrote: Any project depending on this will already have platform-specific code to #include with the framework name. Yes. I'm not familiar enough with mac or frameworks myself to know how useful or 'expected' this new behavior would be?