View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014152 | CMake | CMake | public | 2013-05-17 00:33 | 2013-10-07 10:09 | ||||
Reporter | Craig Scott | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | duplicate | ||||||
Platform | Linux (64-bit) | OS | Fedora | OS Version | 16 | ||||
Product Version | CMake 2.8.10.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014152: Comment change in flags.make triggers unnecessary rebuilds | ||||||||
Description | Let'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? | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0034050) Robert Maynard (manager) 2013-10-07 10:09 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
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 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |