Tests: Add cases for usage requirements of linked object libs

Add tests to cover transitive usage requirements on installation and
export of targets that link to object libraries.

Issue: #14778
55 jobs for relax_restrictions_to_OBJECT_libraries
Status Name Job ID Coverage
  External
passed cdash

passed cmake-dash3win7-windows-release-ninja

passed cmake-hythloth-linux-debug-makefiles+sphinx

passed cmake-hythloth-linux-release-lint-iwyu-tidy

passed cmake-moonshade-osx-debug-ninja

passed cmake-moonshade-osx-release-makefiles

passed cmake-terfin-windows-release-vs2017

passed ghostflow-branch-check-master

passed ghostflow-commit-check

passed ghostflow-stager

passed cmake-dash3win7-windows-release-ninja

passed cmake-dash3win7-windows-release-ninja

passed cmake-dash3win7-windows-release-ninja

00:20:25

passed cmake-dash3win7-windows-release-ninja

passed cmake-dash3win7-windows-release-ninja

passed cmake-hythloth-linux-debug-makefiles+sphinx

passed cmake-hythloth-linux-debug-makefiles+sphinx

passed cmake-hythloth-linux-debug-makefiles+sphinx

passed cmake-hythloth-linux-debug-makefiles+sphinx

00:45:44

passed cmake-hythloth-linux-debug-makefiles+sphinx

passed cmake-hythloth-linux-release-lint-iwyu-tidy

00:02:32

passed cmake-hythloth-linux-release-lint-iwyu-tidy

passed cmake-hythloth-linux-release-lint-iwyu-tidy

passed cmake-hythloth-linux-release-lint-iwyu-tidy

passed cmake-hythloth-linux-release-lint-iwyu-tidy

passed cmake-moonshade-osx-debug-ninja

passed cmake-moonshade-osx-debug-ninja

00:09:26

passed cmake-moonshade-osx-debug-ninja

passed cmake-moonshade-osx-debug-ninja

passed cmake-moonshade-osx-debug-ninja

passed cmake-moonshade-osx-release-makefiles

passed cmake-moonshade-osx-release-makefiles

passed cmake-moonshade-osx-release-makefiles

00:16:44

passed cmake-moonshade-osx-release-makefiles

passed cmake-moonshade-osx-release-makefiles

passed cmake-terfin-windows-release-vs2017

passed cmake-terfin-windows-release-vs2017

passed cmake-terfin-windows-release-vs2017

passed cmake-terfin-windows-release-vs2017

passed cmake-terfin-windows-release-vs2017

00:56:15

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager