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                                    
======================================================================

-- 

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:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to