MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0001304 | CMake | public | 2004-10-29 11:13 | 2005-04-04 16:46 | |
Reporter | Anton Deguet | ||||
Assigned To | System Admin | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0001304: ADD_SWIG_MODULE doesn't always clean the generated source file | ||||
Description | In 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. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change |
Notes | |||||
|
|||||
|
|