MantisBT - CMake
View Issue Details
0001740CMakepublic2005-04-04 18:092005-04-05 10:20
Anton Deguet 
Bill Hoffman 
lowminoralways
closedduplicate 
 
 
0001740: Add dependencies on files included by SWIG interface
When one uses SWIG to create a library, CMake is able to maintain the dependency on the interface file itself but it doesn't maintain the dependencies on the files included in the interface file (i.e. files included with %include or %import).

SWIG provides an option to generate a list of dependencies (-MM I believe) in Make format:

target:
 dep1 \
 dep2 \
 dep3 ....

Is there anyway to use this file as an input for CMake to maintain all the dependencies?

PS: This feature might require a recent SWIG (1.3.22 and higher).
No tags attached.
Issue History

Notes
(0002272)
Bill Hoffman   
2005-04-05 10:20   
Duplicate with 1731