| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0006151 | CMake | Modules | public | 2007-12-12 08:45 | 2008-01-02 17:13 | ||||
| Reporter | Tristan Carel | ||||||||
| Assigned To | |||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0006151: Modules/UseSWIG.cmake: Resolve unecessary rebuild of target | ||||||||
| Description | Whatever the target language, ADD_CUSTOM_COMMAND directives, created by the SWIG_ADD_MODULE macro, believed that one of there created file was <swig_input_basename>.py 2 consequences: - Targets in language different than Python were rebuilt all the time. - Python specific: when module name doesn't match the swig filename, target is also rebuilt all the time. Workaround: use a source file property to force the name of the generated module. Apply fix on `Modules/UseSWIG.cmake' | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0010050) Bill Hoffman (manager) 2008-01-02 17:13 |
OK, this is fixed in CVS: $ cvs commit -m "BUG: fix for bug 6151" UseSWIG.cmake /cvsroot/CMake/CMake/Modules/UseSWIG.cmake,v <-- UseSWIG.cmake new revision: 1.17; previous revision: 1.16 |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2007-12-12 08:45 | Tristan Carel | New Issue | |
| 2007-12-12 08:45 | Tristan Carel | File Added: UseSwig.cmake.diff | |
| 2007-12-14 09:39 | Bill Hoffman | Category | CMake => Modules |
| 2007-12-14 20:28 | Bill Hoffman | Status | new => acknowledged |
| 2008-01-02 17:13 | Bill Hoffman | Note Added: 0010050 | |
| 2008-01-02 17:13 | Bill Hoffman | Status | acknowledged => closed |
| 2008-01-02 17:13 | Bill Hoffman | Resolution | open => fixed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |