[cmake-developers] Automoc in cmake

Marcus D. Hanwell marcus.hanwell at kitware.com
Sun Sep 18 13:11:58 EDT 2011


On Sun, Sep 18, 2011 at 6:39 AM, Alexander Neundorf <neundorf at kde.org> wrote:
> 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 ?
>
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



More information about the cmake-developers mailing list