The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15351 
====================================================================== 
Reported By:                joachim
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15351
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-01-14 11:19 EST
Last Modified:              2015-01-14 11:19 EST
====================================================================== 
Summary:                    Dependencies not detected when comment is in front
of #include statement
Description: 
Generator: MinGW or MSYS Unix Makefiles

Consider code like this in main.cpp:
/* Comment */ #include "header.h"
#include "header2.h"

The header.h is never detected as dependency and does not appear in the
respective depend.make file:

CMakeFiles/simpleDemo.dir/main.cpp.obj: header2.h
CMakeFiles/simpleDemo.dir/main.cpp.obj: main.cpp


Additional Information: 
See attached zip for a little testproject.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-01-14 11:19 joachim        New Issue                                    
2015-01-14 11:19 joachim        File Added: simple.zip                       
======================================================================

-- 

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