MantisBT - CMake | |||||
| View Issue Details | |||||
| 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' | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/1249/UseSwig.cmake.diff | ||||
| 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 | ||
| Notes | |||||
|
|
|||||
|
|
||||