The following tests FAILED:
577 - Qt5Autogen.MocIncludeRelaxed (Failed)
578 - Qt5Autogen.MocIncludeStrict (Failed)
579 - Qt5Autogen.MocSkipSource (Failed)
Errors while running CTest


Okay, it looks like SKIP_AUTOMOC doesn't work properly.
Can you please post the output of

- `ctest -R Qt5Autogen.MocSkip -VV`
- `cat
Tests/Qt5Autogen/MocSkipSource/CMakeFiles/skipMocA_autogen.dir/AutogenInfo.cmake`
- `cat
Tests/Qt5Autogen/MocSkipSource/CMakeFiles/skipMocB_autogen.dir/AutogenInfo.cmake`

OK, attached.


BTW, with todays compilation (master branch) also some qt4-moc-tests are 
failing.
This starts to be itching ...


# ctest -R Autogen.Moc
...
The following tests FAILED:
         577 - Qt5Autogen.MocIncludeRelaxed (Failed)
         578 - Qt5Autogen.MocIncludeStrict (Failed)
         579 - Qt5Autogen.MocSkipSource (Failed)
         615 - Qt4Autogen.MocIncludeRelaxed (Failed)
         616 - Qt4Autogen.MocIncludeStrict (Failed)
         617 - Qt4Autogen.MocSkipSource (Failed)
Errors while running CTest

Thanks for the files.

For some reason the file processing flags are wrong.
E.g. in AutogenInfo-1.cmake
  set(AM_HEADERS_FLAGS "mU;MU;MU")
should be
  set(AM_HEADERS_FLAGS "mU;mU;mu")
A lower case letter means no moc/uic processing.

It seems to be something wrong with SKIP_AUTOMOC/GEN flags of headers that were found from their source files.

Are there symbolic directory links involved in either the CMake source directory or the CMake build directory?

-Sebastian
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake-developers

Reply via email to