[cmake-developers] [CMake 0014489]: Automoc duplicates some moc_ files in the <project>_automoc.cpp file.

Mantis Bug Tracker mantis at public.kitware.com
Wed Oct 16 18:05:57 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14489 
====================================================================== 
Reported By:                Kevin Sisco
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14489
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-10-16 18:05 EDT
Last Modified:              2013-10-16 18:05 EDT
====================================================================== 
Summary:                    Automoc duplicates some moc_ files in the
<project>_automoc.cpp file.
Description: 
When scanning C++ header files for automoc CMake will duplicate header files
that have a .H extension instead of a .h.




Additional Information: 
Attached files from http://public.kitware.com/Bug/view.php?id=13572 with
someclass.h renamed to someclass.H.  

First run (no changes)
2>  Description: Automoc for target bugtest
2>  AUTOMOC: Checking D:/tmp/automoc_13572/someclass.cpp
2>  AUTOMOC: Checking D:/tmp/automoc_13572/main.cpp
2>  AUTOMOC: Checking D:/tmp/automoc_13572/someclass.h

bugtest_automoc.cpp
/* This file is autogenerated, do not edit*/
#include "moc_someclass.cpp"

Second run (after rename)
2>  Description: Automoc for target bugtest
2>  AUTOMOC: Checking D:/tmp/automoc_13572/someclass.cpp
2>  AUTOMOC: Checking D:/tmp/automoc_13572/main.cpp
2>  AUTOMOC: Checking D:/tmp/automoc_13572/someclass.H
2>  AUTOMOC: Checking D:/tmp/automoc_13572/someclass.h

bugtest_automoc.cpp
/* This file is autogenerated, do not edit*/
#include "moc_someclass.cpp"
#include "moc_someclass.cpp"

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-10-16 18:05 Kevin Sisco    New Issue                                    
======================================================================




More information about the cmake-developers mailing list