Re: [cmake-developers] Correct way to get include directories for a target (automoc regression) ?

2012-11-18 Thread Stephen Kelly
Alexander Neundorf wrote: Does moc know actually know about system include dirs ? I don't know. Interestingly, moc seems to fail on some systems if all system include dirs are given to it, see the Raphaels comment ( http://public.kitware.com/Bug/view.php?id=13667#c31553) Yes, a

Re: [cmake-developers] Correct way to get include directories for a target (automoc regression) ?

2012-11-17 Thread Alexander Neundorf
On Sunday 11 November 2012, Stephen Kelly wrote: Alexander Neundorf wrote: On Sunday 11 November 2012, Stephen Kelly wrote: Alexander Neundorf wrote: In 2.8.9 automoc did not ask the target for its include dirs, but it asked the directory for its include dirs. This contained and still

Re: [cmake-developers] Correct way to get include directories for a target (automoc regression) ?

2012-11-11 Thread Stephen Kelly
Alexander Neundorf wrote: In 2.8.9 automoc did not ask the target for its include dirs, but it asked the directory for its include dirs. This contained and still contains as it seems the CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES. In 2.8.10 the target is asked for its include dirs, and it seems

Re: [cmake-developers] Correct way to get include directories for a target (automoc regression) ?

2012-11-11 Thread Alexander Neundorf
On Sunday 11 November 2012, Stephen Kelly wrote: Alexander Neundorf wrote: In 2.8.9 automoc did not ask the target for its include dirs, but it asked the directory for its include dirs. This contained and still contains as it seems the CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES. In 2.8.10 the

Re: [cmake-developers] Correct way to get include directories for a target (automoc regression) ?

2012-11-11 Thread Stephen Kelly
Alexander Neundorf wrote: On Sunday 11 November 2012, Stephen Kelly wrote: Alexander Neundorf wrote: In 2.8.9 automoc did not ask the target for its include dirs, but it asked the directory for its include dirs. This contained and still contains as it seems the

[cmake-developers] Correct way to get include directories for a target (automoc regression) ?

2012-11-09 Thread Alexander Neundorf
Hi, as you know, there is a regression in 2.8.10 with automoc: http://public.kitware.com/Bug/view.php?id=13667 http://public.kitware.com/Bug/view.php?id=13646 I'm looking at this right now. The problem is that when moc is invoked, an include directory is missing, - I/usr/lib/qt/include is

Re: [cmake-developers] Correct way to get include directories for a target (automoc regression) ?

2012-11-09 Thread Alexander Neundorf
On Friday 09 November 2012, Alexander Neundorf wrote: Hi, as you know, there is a regression in 2.8.10 with automoc: http://public.kitware.com/Bug/view.php?id=13667 http://public.kitware.com/Bug/view.php?id=13646 I'm looking at this right now. The problem is that when moc is invoked, an

Re: [cmake-developers] Correct way to get include directories for a target (automoc regression) ?

2012-11-09 Thread David Cole
I would append (or maybe prepend?) the implicit ones to the target ones. The compiler doesn't need to know about these (or already does know, more accurately, so doesn't need to be told...) Sounds like moc needs to be told. On Fri, Nov 9, 2012 at 2:31 PM, Alexander Neundorf neund...@kde.org

Re: [cmake-developers] Correct way to get include directories for a target (automoc regression) ?

2012-11-09 Thread Alexander Neundorf
On Friday 09 November 2012, David Cole wrote: I would append (or maybe prepend?) the implicit ones to the target ones. The compiler doesn't need to know about these (or already does know, more accurately, so doesn't need to be told...) Sounds like moc needs to be told. Done, I merged the