View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008777CMakeCMakepublic2009-03-21 20:272016-06-10 14:30
ReporterDaniel Nelson 
Assigned ToBill Hoffman 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0008777: Let INCLUDE_REGULAR_EXPRESSION match against header file name with enclosing <> or ""
DescriptionIt would be very useful if the string set by the include_regular_expression command was matched against the header file including its enclosing <> or "". This would allow exclusion of includes with the format #include <header>.

The reason for doing this is a huge speed improvement. I had a project that was using precompiled headers and cmake was spending a lot of time doing dependency calculations. The depends.make for only one of about 10 projects had grown to about 15MB, and almost all of the dependencies were being pulled in by the precompiled header file. We didn't really need to trace dependencies into system libraries since they don't change often and when they do, we generally need to rebuild everything anyway. So it was worth the speed boost to skip checking them. After modifying the version of cmake we are using internally to skip all headers included with angle brackets, build times running make went from 10 minutes to 8, and the time to run cmake from 1m20s to about 20s.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0041524)
Kitware Robot (administrator)
2016-06-10 14:27

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
2009-03-21 20:27 Daniel Nelson New Issue
2009-03-22 21:53 Bill Hoffman Status new => assigned
2009-03-22 21:53 Bill Hoffman Assigned To => Bill Hoffman
2016-06-10 14:27 Kitware Robot Note Added: 0041524
2016-06-10 14:27 Kitware Robot Status assigned => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:30 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team