[cmake-developers] Automoc in cmake

Alexander Neundorf neundorf at kde.org
Sun Sep 18 06:39:32 EDT 2011


On Saturday, September 17, 2011 07:16:28 PM Stephen Kelly wrote:
> Stephen Kelly <steveire at ...> writes:
> > Alexander Neundorf wrote:
> > 
> > 
> > Would it be possible to make CMAKE_AUTOMOC imply
> > CMAKE_INCLUDE_CURRENT_DIR?
> > 
> > All the best,
> > 
> > Steve.
> 
> Is it still possible to consider this? It's not ideal that you have to do
> this:
> 
> set(CMAKE_AUTOMOC ON)
> set(CMAKE_INCLUDE_CURRENT_DIR ON)
> 
> instead of this:
> 
> set(CMAKE_AUTOMOC ON)

Don't know.
I'm usually ok with having to set the include directories explicitely.
What do others think ?

Alex



More information about the cmake-developers mailing list