[cmake-developers] [CMake 0014902]: Incomplete Qt4Target test, moc rule broken
Mantis Bug Tracker
mantis at public.kitware.com
Fri May 2 03:15:31 EDT 2014
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=14902
======================================================================
Reported By: Peter Kuemmel
Assigned To:
======================================================================
Project: CMake
Issue ID: 14902
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-05-02 09:15 CEST
Last Modified: 2014-05-02 09:15 CEST
======================================================================
Summary: Incomplete Qt4Target test, moc rule broken
Description:
The test calls:
try_compile(RESULT
"${CMAKE_CURRENT_BINARY_DIR}/IncrementalMocBuild"
"${CMAKE_CURRENT_SOURCE_DIR}/IncrementalMoc"
IncrementalMoc
CMAKE_FLAGS -DADD_DEF=0
"-DQT_QMAKE_EXECUTABLE:FILEPATH=${QT_QMAKE_EXECUTABLE}")
and the macro QT4_CREATE_MOC_COMMAND in Qt4Macros.cmake calls
get_directory_property(_defines COMPILE_DEFINITIONS) but -DADD_DEF=0 does not
pop up as parameter.
The test needs to check the content off the parameter file not only the time
stamp.
The bug shows on cdash after fixing
http://public.kitware.com/Bug/view.php?id=14894.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-05-02 09:15 Peter Kuemmel New Issue
======================================================================
More information about the cmake-developers
mailing list