View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001304CMakepublic2004-10-29 11:132005-04-04 16:46
ReporterAnton Deguet 
Assigned ToSystem Admin 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001304: ADD_SWIG_MODULE doesn't always clean the generated source file
DescriptionIn UseSWIG.cmake, the macro SWIG_ADD_MODULE specifies that the generated source file must be clean with the line:

SET_DIRECTORY_PROPERTIES(PROPERTIES
    ADDITIONAL_MAKE_CLEAN_FILES "${ADDITIONAL_MAKE_CLEAN_FILES};${swig_generated_sources}")

If in a given CMakeLists.txt (for a single directory), this macro is called only once, it works, i.e. make clean will clean the _wrap.cxx generated file. If the macro is called multiple times, the last _wrap.cxx is cleaned but not the other files. I guess something must get overwritten.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0002265)

2005-04-04 16:46

fixed in cvs

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team