The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15751 
====================================================================== 
Reported By:                Dmitriy V. Shmykov
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15751
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-09-18 09:37 EDT
Last Modified:              2015-09-18 09:37 EDT
====================================================================== 
Summary:                    cmake Qt moc files' autogen failed with Q_OBJECT in
source code comments
Description: 
When I compile my source code which contains the text "Q_OBJECT" in C++ comments
cmake fails with the error text "AUTOGEN: error: <file>.cpp: The file contains a
Q_OBJECT macro, but does not include <file>.moc"

Steps to Reproduce: 
create a project with

set(CMAKE_AUTOMOC ON)

and C++ source code file containing comments with "Q_OBJECT" substring.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-09-18 09:37 Dmitriy V. ShmykovNew 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/mailman/listinfo/cmake-developers

Reply via email to