MantisBT - CMake
View Issue Details
0014902CMakeCMakepublic2014-05-02 03:152015-07-08 08:57
Peter Kuemmel 
Stephen Kelly 
normalminoralways
closedno change required 
CMake 3.0 
 
0014902: Incomplete Qt4Target test, moc rule broken
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 0014894.
No tags attached.
Issue History
2014-05-02 03:15Peter KuemmelNew Issue
2015-02-26 16:25Stephen KellyStatusnew => resolved
2015-02-26 16:25Stephen KellyResolutionopen => no change required
2015-02-26 16:25Stephen KellyAssigned To => Stephen Kelly
2015-07-08 08:57Robert MaynardNote Added: 0039083
2015-07-08 08:57Robert MaynardStatusresolved => closed

Notes
(0039083)
Robert Maynard   
2015-07-08 08:57   
Closing resolved issues that have not been updated in more than 4 months.