[cmake-developers] [CMake 0013857]: Cannot generate swig wrapper for python2 and python3 in the same project

Mantis Bug Tracker mantis at public.kitware.com
Fri Jan 18 05:50:14 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13857 
====================================================================== 
Reported By:                Mika Fischer
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13857
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-01-18 05:50 EST
Last Modified:              2013-01-18 05:50 EST
====================================================================== 
Summary:                    Cannot generate swig wrapper for python2 and python3
in the same project
Description: 
The problem is that the wrapper library target has the same name for both
wrappers. I've come up with a patch that allows to use PYTHON2 and PYTHON3 as
languages for the swig macros, which then use different names for the library
targets. I don't know if this is the best way to solve this though...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-01-18 05:50 Mika Fischer   New Issue                                    
2013-01-18 05:50 Mika Fischer   File Added: swig-python2-python3.patch          
         
======================================================================




More information about the cmake-developers mailing list