View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013042CMakeModulespublic2012-03-14 12:092014-06-02 08:37
ReporterBjoern Thiel 
Assigned Tojschueller 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product VersionCMake 2.8.7 
Target VersionFixed in VersionCMake 3.0 
Summary0013042: UseSWIG.cmake: subdirectory for generated files is not created
DescriptionIn case one .i file is sitting in a subdirectory of the current directory, the corresponding subdirectory for the generated .cxx file is not created.

So SWIG produces no output for the corresponding input.
Steps To Reproducesee above
Additional Informationquick fix:
change
  IF(swig_source_file_relative_path)
    SET(swig_generated_file_fullname
      "${swig_generated_file_fullname}/${swig_source_file_relative_path}")
  ENDIF(swig_source_file_relative_path)
to
  IF(swig_source_file_relative_path)
    SET(swig_generated_file_fullname
      "${swig_generated_file_fullname}/${swig_source_file_relative_path}")
    FILE(MAKE_DIRECTORY "${swig_generated_file_fullname}")
  ENDIF(swig_source_file_relative_path)
TagsNo tags attached.
Attached Files

 Relationships
duplicate of 0013772closedjschueller UseSWIG.cmake does not handle relative paths with parent directories 

  Notes
(0030378)
David Cole (manager)
2012-08-11 21:35

Sending old, never assigned issues to the backlog.

(The age of the bug, plus the fact that it's never been assigned to anyone means that nobody is actively working on it...)

If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it: http://www.cmake.org/mailman/listinfo/cmake [^]

It's easy to re-activate a bug here if you can find a CMake developer who has the bandwidth to take it on, and ferry a fix through to our 'next' branch for dashboard testing.
(0036032)
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-03-14 12:09 Bjoern Thiel New Issue
2012-08-11 21:35 David Cole Status new => backlog
2012-08-11 21:35 David Cole Note Added: 0030378
2013-11-26 03:06 jschueller Assigned To => jschueller
2013-11-26 03:06 jschueller Status backlog => assigned
2013-11-26 03:07 jschueller Relationship added duplicate of 0013772
2013-11-26 03:07 jschueller Status assigned => resolved
2013-11-26 03:07 jschueller Fixed in Version => CMake 3.0
2013-11-26 03:07 jschueller Resolution open => duplicate
2014-06-02 08:37 Robert Maynard Note Added: 0036032
2014-06-02 08:37 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team