[ITK-dev] Possible to build ITK libs without version number in filename?

Marcus D. Hanwell marcus.hanwell at kitware.com
Fri Feb 5 18:44:13 EST 2016


On Fri, Feb 5, 2016 at 3:12 PM, Sean McBride <sean at rogue-research.com> wrote:
> Hi all,
>
> Is it possible to build ITK such that the resulting library names do not have version numbers in them?  ie instead of "libITKCommon-4.9.a" could it be just "libITKCommon.a"?
>
> VTK has a build option VTK_CUSTOM_LIBRARY_SUFFIX that you can set to an empty string to get this.  Does ITK have something analogous?
>
> (The version numbers are annoying for me because my Xcode projects reference the ITK libs by filename, and every time the version is bumped it's a pain to switch back and forth.)
>
This is something I would love to see, and I have been looking at this
for VTK/ParaView too. You can set variables as you point out there to
remove the version numbers, but there is not currently a simple option
to turn it off. When creating binary packages the version numbers add
to path lengths (can be an issue on Windows), and offer another point
of failure.

I can see why they are useful, but it would be good to make it simpler
to turn them off in projects offering versioned install
libraries/directories.

Best,

Marcus


More information about the Insight-developers mailing list