azure-sdk-for-cpp/sdk/attestation
James Le Cuirot a091f4c8e0
Set VERSION property against all libraries to write versioned SONAME (#6087)
The SONAME currently written to shared libraries is unversioned, e.g.
libazure-core.so. The SDK's ABI is unstable, so replacing these .so
files with newer versions will immediately break any consumers.

Setting the VERSION property results in libazure-core.so being a symlink
that is used at build time to point to the versioned library, e.g.
libazure-core.so.1.14.0. Consumers point directly to the versioned
library and continue to work against the older version when the library
is upgraded. Once rebuilt, they then point to the newer version instead.

It is more common to use an ABI version that is separate to the library
version, but it makes sense to use the latter when the ABI is unstable.
The Boost libraries do exactly this.

This change has no effect on static libraries, which is the more common
use case. See the CMake documentation for its wider effects.

https://cmake.org/cmake/help/latest/prop_tgt/VERSION.html
2024-10-11 11:42:13 -07:00
..
azure-security-attestation Set VERSION property against all libraries to write versioned SONAME (#6087) 2024-10-11 11:42:13 -07:00
assets.json Disable playback for several attestation tests that use JWTs (#5665) 2024-05-28 10:15:07 -07:00
ci.yml Enable UseFederatedAuth by default (#5852) 2024-07-31 17:10:39 -07:00
CMakeLists.txt Use standard syntax for MIT license (#4786) 2023-07-12 22:37:36 -07:00
test-resources-pre.ps1 Update cspell words and exclusions (#5231) 2023-12-15 17:41:11 -08:00
test-resources.json Updated tests to support -UserAuth test resources switch to enable non-corpnet access. (#5387) 2024-02-28 01:36:54 +00:00