Add options to manage the common files


- Add the 'commonLibrary' option to manage common files.
The following generation mode types for common classes are
possible:
* 'Use-Common-Lib' generates common files as a separate library.
* 'Skip-Common-Files' doesn't generate common files at all.

NOTE:
'Skip-Common-Files' is required to reduce the generation
of common resources. If another client has already generated it,
it makes sense to avoid generating the Common library.
Usage of the 'commonLibrary' option:
'--additional-properties=commonLibrary=Skip-Common-Files'

- Add 'commonLibraryName' option that allows to choose the unique
name for the common library.
Usage of the 'commonLibraryName' option:
'--additional-properties=commonLibrary=Use-Common-Lib,commonLibraryName=MyCommonTestName'

NOTE:
Integrating the possibility to have a uniquely named common library
helps us to prevent name duplication problems in the
configuration of qtopenapi sub-module auto-tests.

- Add a test.
- Add 'linkage-test' option into the generate.sh.

Task-number: QTBUG-140233
Change-Id: Iabe28b8c208d6825a24f25b8ce7c97d53f4c9d80
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commit5d5e465366efd7c0530c2316ee97db725d684382
parent910d1dba29387f6723da0fa67436835af639732f
authorTatiana Borisova <tatiana.borisova@qt.io>
committerTatiana Borisova <tatiana.borisova@qt.io>
commit timeTue, 28 Oct 2025 13:13:42 +0100