MantisBT - CMake
View Issue Details
0014140CMakeCMakepublic2013-05-14 00:342016-06-10 14:21
Clinton Stimpson 
Brad King 
normalminorhave not tried
closedfixed 
Mac
CMake 2.8.12 
CMake 3.6CMake 3.6 
0014140: Ninja generator doesn't set version in dylib
If I run the LibName test, where SOVERSION and VERSION are set for a dylib, it doesn't use the -compatibility_version and -current_version linker flags.

"otool -L Tests/LibName/lib/verFoobar" shows
  .../Tests/LibName/lib/libverFoo.3.dylib (compatibility version 0.0.0, current version 0.0.0)

instead of the expected
  .../Tests/LibName/lib/libverFoo.3.dylib (compatibility version 3.0.0, current version 3.1.4)
ninja
Issue History
2013-05-14 00:34Clinton StimpsonNew Issue
2013-05-14 00:34Clinton StimpsonTag Attached: ninja
2016-03-08 08:40Brad KingNote Added: 0040646
2016-03-08 08:40Brad KingAssigned To => Brad King
2016-03-08 08:40Brad KingStatusnew => resolved
2016-03-08 08:40Brad KingResolutionopen => fixed
2016-03-08 08:40Brad KingFixed in Version => CMake 3.6
2016-03-08 08:40Brad KingTarget Version => CMake 3.6
2016-06-10 14:21Kitware RobotNote Added: 0041233
2016-06-10 14:21Kitware RobotStatusresolved => closed

Notes
(0040646)
Brad King   
2016-03-08 08:40   
Fixed here:

cmCommonTargetGenerator: Adopt AppendOSXVerFlag method
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1f2b39c6 [^]

Ninja: Add OS X dylib versioning
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9e165a64 [^]
(0041233)
Kitware Robot   
2016-06-10 14:21   
This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.