View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014152CMakeCMakepublic2013-05-17 00:332013-10-07 10:09
ReporterCraig Scott 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformLinux (64-bit)OSFedoraOS Version16
Product VersionCMake 2.8.10.1 
Target VersionFixed in Version 
Summary0014152: Comment change in flags.make triggers unnecessary rebuilds
DescriptionLet's say you have a set of source files and you use set_source_files_properties() to set COMPILER_DEFINITIONS on just one of those files. If you change that definition, it results in *all* the files getting rebuilt. This is because the makefile generator adds a comment to the flags.make file stating the custom define. The actual flags are unchanged, but because the comment changes, make rebuilds all the sources because those sources depend on the contents/timestamp of flags.make. I would recommend that the custom defines NOT be included in a comment within the flags.make file to avoid this. Maybe those comments can be sent to a separate file which has no effect on the build, since they are just informational anyway?
TagsNo tags attached.
Attached Files

 Relationships
duplicate of 0005473closedKitware Robot rebuild always triggered when using SET_SOURCE_FILES_PROPERTIES 

  Notes
(0034050)
Robert Maynard (manager)
2013-10-07 10:09

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2013-05-17 00:33 Craig Scott New Issue
2013-05-17 08:16 Brad King Relationship added duplicate of 0005473
2013-05-17 08:16 Brad King Status new => resolved
2013-05-17 08:16 Brad King Resolution open => duplicate
2013-05-17 08:16 Brad King Assigned To => Brad King
2013-10-07 10:09 Robert Maynard Note Added: 0034050
2013-10-07 10:09 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team