cmake git (branch release) breaks compiling kconfig

David Faure faure at kde.org
Fri Jun 30 12:28:08 UTC 2017


Hi Sebastian, thanks for your prompt reply.

On vendredi 30 juin 2017 13:03:16 CEST Sebastian Holtermann wrote:
> I think the trouble comes from mixing AUTOMOC with qt5_generate_moc. The
> moc file is generated twice
> 
> 1. By AUTOMOC:
> /d/kde/build/5/frameworks/kconfig/autotests/kconfig_compiler/test_signal_aut
> ogen/EJRQKI7XPS/moc_test_signal.cpp
> 
> 2. By qt5_generate_moc:
> /d/kde/build/5/frameworks/kconfig/autotests/kconfig_compiler/test_signal.moc

The code says:

    qt5_generate_moc(${_header_FILE} ${_moc_FILE})
   set_property(SOURCE ${_src_FILE} PROPERTY SKIP_AUTOMOC TRUE)  # don't run automoc on this file

so it souds like SKIP_AUTOMOC is broken?

> Does this happen with CMake 3.8.2 as well?

It all builds fine with CMake 3.8.2, I just retried.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



More information about the Kde-buildsystem mailing list