View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013772CMakeCMakepublic2012-12-03 02:272014-06-02 08:37
Reporterhsor001 
Assigned Tojschueller 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.10.2 
Target VersionFixed in VersionCMake 3.0 
Summary0013772: UseSWIG.cmake does not handle relative paths with parent directories
DescriptionWhen using swig with relative paths that contain parent directories the generated location of the cxx file is not set properly.
Steps To ReproduceUse 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.
TagsNo tags attached.
Attached Files? file icon relative-useswig-paths.cmake [^] (3,598 bytes) 2012-12-03 02:28

 Relationships
has duplicate 0013042closedjschueller UseSWIG.cmake: subdirectory for generated files is not created 
has duplicate 0013029closedjschueller Use of SWIG fails for out-of-source builds, if the swig interface file is not placed in same directory as CMakeLists.txt 
has duplicate 0006107closedjschueller UseSWIG.cmake severely broken 
related to 0013173closedjschueller Swig module can't handle absolute path 
related to 0014459closedjschueller SWIG_ADD_MODULE does not create sub directory 

  Notes
(0031797)
hsor001 (reporter)
2012-12-03 02:29

relative-useswig-paths.cmake this file should be called relative-useswig-paths.patch
(0034547)
jschueller (developer)
2013-11-25 09:12

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=276e3735 [^]
(0036029)
Robert Maynard (manager)
2014-06-02 08:37

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-12-03 02:27 hsor001 New Issue
2012-12-03 02:28 hsor001 File Added: relative-useswig-paths.cmake
2012-12-03 02:29 hsor001 Note Added: 0031797
2012-12-03 07:50 Brad King Assigned To => Mathieu Malaterre
2012-12-03 07:50 Brad King Status new => assigned
2013-11-25 08:24 Brad King Assigned To Mathieu Malaterre => jschueller
2013-11-25 08:28 Brad King Relationship added related to 0013173
2013-11-25 08:29 Brad King Relationship added related to 0014459
2013-11-25 09:12 jschueller Note Added: 0034547
2013-11-25 09:12 jschueller Status assigned => resolved
2013-11-25 09:12 jschueller Fixed in Version => CMake 3.0
2013-11-25 09:12 jschueller Resolution open => fixed
2013-11-26 03:07 jschueller Relationship added has duplicate 0013042
2013-11-26 03:07 jschueller Relationship added has duplicate 0013029
2013-11-26 03:08 jschueller Relationship added has duplicate 0006107
2014-06-02 08:37 Robert Maynard Note Added: 0036029
2014-06-02 08:37 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team