[cmake-developers] [CMake 0013772]: UseSWIG.cmake does not handle relative paths with parent directories

Mantis Bug Tracker mantis at public.kitware.com
Mon Dec 3 02:27:05 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13772 
====================================================================== 
Reported By:                hsor001
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13772
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-12-03 02:27 EST
Last Modified:              2012-12-03 02:27 EST
====================================================================== 
Summary:                    UseSWIG.cmake does not handle relative paths with
parent directories
Description: 
When using swig with relative paths that contain parent directories the
generated location of the cxx file is not set properly.

Steps to Reproduce: 
Use swig to wrap a python module where the interface file is in a sibling
directory to the CMakeLists.txt file:

set(interface_src ../interfaces/lib.i)

Try configuring and building this swig module with a build directory anywhere
other than a sibling directory.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-12-03 02:27 hsor001        New Issue                                    
======================================================================




More information about the cmake-developers mailing list