View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015351CMakeCMakepublic2015-01-14 11:192016-06-10 14:31
Reporterjoachim 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformWindowsOSOS Version
Product VersionCMake 2.8.12.2 
Target VersionFixed in Version 
Summary0015351: Dependencies not detected when comment is in front of #include statement
DescriptionGenerator: 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 InformationSee attached zip for a little testproject.
TagsNo tags attached.
Attached Fileszip file icon simple.zip [^] (747 bytes) 2015-01-14 11:19

 Relationships

  Notes
(0042699)
Kitware Robot (administrator)
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.

 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
2016-06-10 14:29 Kitware Robot Note Added: 0042699
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team