MantisBT - CMake
View Issue Details
0014489CMakeCMakepublic2013-10-16 18:052016-06-10 14:31
Kevin Sisco 
Kitware Robot 
normalminoralways
closedmoved 
Visual Studio 2012 x64Windows7
CMake 2.8.12 
 
0014489: Automoc duplicates some moc_ files in the <project>_automoc.cpp file.
When scanning C++ header files for automoc CMake will duplicate header files that have a .H extension instead of a .h.


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"
No tags attached.
zip automoc_14489.zip (1,294) 2013-10-16 18:07
https://public.kitware.com/Bug/file/4907/automoc_14489.zip
Issue History
2013-10-16 18:05Kevin SiscoNew Issue
2013-10-16 18:07Kevin SiscoFile Added: automoc_14489.zip
2016-06-10 14:29Kitware RobotNote Added: 0042396
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042396)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.