MantisBT - CMake
View Issue Details
0006107CMakeModulespublic2007-12-02 09:182014-06-02 08:37
Hendrik Sattler 
jschueller 
normalmajoralways
closedduplicate 
 
CMake 3.0 
0006107: UseSWIG.cmake severely broken
The current UseSWIG.cmake module makes it impossible to use .i files from another than the current directory. As outfiles for binding for different language may have the same name...
You also cannot easily assign a different name to outfile and cmake target as the language is not taken into account for the creation of the target name.
Because the outfile gets the same name as the target, the user _has_ to call set_target_properties to change that to something sensible.
As an additional point, it takes major effort to get the proper module directory for each language. That should either be available through the SWIG modules or through module like FindPythonLibs and FindPerlLibs
No tags attached.
duplicate of 0013772closed jschueller UseSWIG.cmake does not handle relative paths with parent directories 
Issue History
2007-12-02 09:18Hendrik SattlerNew Issue
2007-12-14 20:34Bill HoffmanStatusnew => assigned
2007-12-14 20:34Bill HoffmanAssigned To => Bill Hoffman
2013-11-26 03:08jschuellerAssigned ToBill Hoffman => jschueller
2013-11-26 03:08jschuellerRelationship addedduplicate of 0013772
2013-11-26 03:08jschuellerStatusassigned => resolved
2013-11-26 03:08jschuellerFixed in Version => CMake 3.0
2013-11-26 03:08jschuellerResolutionopen => duplicate
2014-06-02 08:37Robert MaynardNote Added: 0036034
2014-06-02 08:37Robert MaynardStatusresolved => closed

Notes
(0036034)
Robert Maynard   
2014-06-02 08:37   
Closing resolved issues that have not been updated in more than 4 months.