docopt / docopt.cpp

C++11 port of docopt
Boost Software License 1.0
1.04k stars 146 forks source link

Install versioned library #112

Closed eaaltonen closed 4 years ago

eaaltonen commented 5 years ago

Note

The library maintainers should review and consider when the library ABI changes. Substitute appropriate value for SOVERSION

Commit

With soversion and version specified, install target will install the library with the specified version and also create the proper symlink.

Change

make install before:

libdocopt.so

make install after:

libdocopt.so -> libdocopt.so.0
libdocopt.so.0 -> libdocopt.so.0.6.2
libdocopt.so.0.6.2

Fixes #111.

eaaltonen commented 5 years ago

This has already been requested in PR#66, it seems.

jaredgrubb commented 4 years ago

Yes, this is a dup, but I think you have a slightly more correct approach. I'm trying to fix the CI stuff and then we can merge.

jaredgrubb commented 4 years ago

Worked well enough so just going to merge in.