View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014815CMakeModulespublic2014-03-19 15:202016-06-06 16:40
ReporterNico Schlömer 
Assigned Tojschueller 
PrioritynormalSeveritytweakReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Versionlinux
Product VersionCMake 2.8.12.2 
Target VersionFixed in Version 
Summary0014815: UseSWIG: NO_SONAME
DescriptionWhen generating a library via SWIG, it will typically be a plugin of some sort, e.g., a Python module. This is exactly the use case for NO_SONAME as documented on http://www.cmake.org/cmake/help/v2.8.12/cmake.html#prop_tgt:NO_SONAME. [^]

Consequently, the macro SWIG_ADD_MODULE in UseSWIG.cmake should make it possible (or even the default setting) to add NO_SONAME.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0035440)
Brad King (manager)
2014-03-19 15:26

It is currently possible to do it like this:

 swig_add_module(mymod ...)
 set_property(TARGET ${SWIG_MODULE_mymod_REAL_NAME} PROPERTY NO_SONAME 1)

but having a builtin option would be nice too.
(0035561)
jschueller (developer)
2014-03-31 04:21
edited on: 2014-04-01 03:48

You're right, added by default:
http://cmake.org/gitweb?p=stage/cmake.git;a=commitdiff;h=dddb721 [^]
J.

(0035604)
Brad King (manager)
2014-04-01 10:49

Revised commit message:

 UseSWIG: Enable NO_SONAME on swig modules
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f26147b8 [^]
(0036962)
Robert Maynard (manager)
2014-10-06 10:33

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

 Issue History
Date Modified Username Field Change
2014-03-19 15:20 Nico Schlömer New Issue
2014-03-19 15:26 Brad King Note Added: 0035440
2014-03-31 04:14 jschueller Assigned To => jschueller
2014-03-31 04:14 jschueller Status new => assigned
2014-03-31 04:21 jschueller Note Added: 0035561
2014-03-31 04:22 jschueller Severity minor => tweak
2014-03-31 04:22 jschueller Reproducibility have not tried => always
2014-03-31 04:22 jschueller Category (No Category) => Modules
2014-03-31 04:22 jschueller OS Version => linux
2014-04-01 03:48 jschueller Note Edited: 0035561
2014-04-01 03:49 jschueller Status assigned => resolved
2014-04-01 10:49 Brad King Note Added: 0035604
2014-10-06 10:33 Robert Maynard Note Added: 0036962
2014-10-06 10:33 Robert Maynard Status resolved => closed
2016-06-06 16:40 Brad King Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team