Hey all,<div><br></div><div><br></div><div>The VTK libraries (with the exception of verdict) all use the following chunk of code from the main VTK CMakeLists.txt file to specify thier VERSION and SOVERSION properties:</div>
<div><div><br></div><div>  # Append the library version information to the library target</div><div>  # properties.  A parent project may set its own properties and/or may</div><div>  # block this.</div><div>  IF(NOT VTK_NO_LIBRARY_VERSION)</div>
<div>    SET(VTK_LIBRARY_PROPERTIES ${VTK_LIBRARY_PROPERTIES}</div><div>      VERSION "${VTK_VERSION}"</div><div>      SOVERSION "${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION}"</div><div>      )</div><div>
  ENDIF(NOT VTK_NO_LIBRARY_VERSION)</div><div><br></div><div><br></div><div>The verdict library instead uses this chunk of code from VTK/Utilities/CMakeLists.txt:</div><div><div><br></div><div>  SET( VERDICT_LIBRARY_PROPERTIES VERSION "vtk${VTK_VERSION}" )</div>
<div><br></div><div><br></div><div>I (think I) understand the "vtk" is intended to distinguish it from when it is built as a standalone library and not as part of VTK...</div><div>But the net effect of this discrepancy is that the install tree contains many libraries with three files each like this...:</div>
<div><div>  libvtktiff.so -> libvtktiff.so.5.4</div><div>  libvtktiff.so.5.4 -> libvtktiff.so.5.4.0</div><div>  libvtktiff.so.5.4.0</div><div><br></div><div>...and then the verdict library with only two files that do not follow the same convention:</div>
<div>  libvtkverdict.so -> libvtkverdict.so.vtk5.4.0</div><div>  libvtkverdict.so.vtk5.4.0</div><div><br></div><div><br></div><div>So here's the question:</div><div>Isn't the name "libvtkverdict" sufficient to distinguish the library from its standalone non-VTK library...? Can I make libvtkverdict consistent with the other VTK libraries by changing the code to this: ??</div>
<div><div><br></div><div>  SET( VERDICT_LIBRARY_PROPERTIES</div><div><div>    VERSION "${VTK_VERSION}"</div><div>    SOVERSION "${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION}"</div><div>    )</div><div><br>
</div><div>Or is there some other reason that I am missing that it needs to be the way it is?</div><div><br></div><div><br></div><div>Thanks for any insight / feedback......</div><div><br></div><div>David Cole</div><div><br>
</div></div></div></div></div></div>