View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006151CMakeModulespublic2007-12-12 08:452008-01-02 17:13
ReporterTristan Carel 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0006151: Modules/UseSWIG.cmake: Resolve unecessary rebuild of target
DescriptionWhatever 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'
TagsNo tags attached.
Attached Filesdiff file icon UseSwig.cmake.diff [^] (1,291 bytes) 2007-12-12 08:45 [Show Content]

 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

 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


Copyright © 2000 - 2018 MantisBT Team