| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0008642 | CMake | CMake | public | 2009-02-27 15:48 | 2009-03-27 12:26 | ||||
| Reporter | Clinton Stimpson | ||||||||
| Assigned To | Bill Hoffman | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | won't fix | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0008642: recompile of all files when adding one | ||||||||
| Description | if one has set(SRCS file1.c file2.c ...) set_source_files_properties(${SRCS} PROPERTIES COMPILE_FLAGS -DUMMY) add_library(test ${SRCS}) anytime I add a new file to the SRCS list, it recompiles all of them. It only does this when I have the set_source_files_properties(). this is with the unix makefile generator. I'd rather it only compile the one new file. | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | ||||||
|
||||||
| Relationships |
| Notes | |
|
(0015464) Bill Hoffman (manager) 2009-02-27 16:18 |
There is no good way to fix this. Each file depends on the flags.make file, and if you add a flag to one source file, then it will cause a rebuild. We tried a version with one file per object, but it created too many files on disk, and was too slow. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2009-02-27 15:48 | Clinton Stimpson | New Issue | |
| 2009-02-27 16:18 | Bill Hoffman | Note Added: 0015464 | |
| 2009-02-27 16:18 | Bill Hoffman | Status | new => assigned |
| 2009-02-27 16:18 | Bill Hoffman | Assigned To | => Bill Hoffman |
| 2009-03-27 12:25 | Bill Hoffman | Relationship added | has duplicate 0008787 |
| 2009-03-27 12:26 | Bill Hoffman | Status | assigned => closed |
| 2009-03-27 12:26 | Bill Hoffman | Resolution | open => won't fix |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |