Re: [cmake-developers] Automoc in cmake

2011-09-18 Thread Alexander Neundorf
On Saturday, September 17, 2011 07:16:28 PM Stephen Kelly wrote:
 Stephen Kelly steveire@... 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
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Automoc in cmake

2011-09-18 Thread Marcus D. Hanwell
On Sun, Sep 18, 2011 at 6:39 AM, Alexander Neundorf neund...@kde.org wrote:
 On Saturday, September 17, 2011 07:16:28 PM Stephen Kelly wrote:
 Stephen Kelly steveire@... 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 ?

It seems to me that if you always need to do both for it to work, then
it should be a candidate for consolidation.

Marcus
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers