diff options
| author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-05-19 12:35:18 +0200 |
|---|---|---|
| committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-05-25 22:36:53 +0200 |
| commit | 1bd408d6f7eac7908c77a0129e0173c280fce55b (patch) | |
| tree | 8b14a26a49c62bbe9cd5f6aa78ba146f0a1f09bc /src/corelib/tools/qsharedpointer.cpp | |
| parent | 5e96c64afb274a3cc4364b1390ce0b776d637dd6 (diff) | |
CMake: Introduce a public qt_add_library function
Internally it uses a new _qt_internal_add_library function (similar
how we have qt_add_executable and _qt_internal_add_executable) as well
as finalizer code line the executable case.
_qt_internal_add_library forwards arguments to add_library with some
Qt specific adjustments to the selected default target type (based on
whether Qt is configured as static or shared).
The new _qt_internal_add_library is now used in qt_add_plugin as well
as some internal library creating functions like
qt_internal_add_module.
This reduces some duplication of file name adjustments across
functions and creates a central point for creation of Qt-like
libraries (for some definition of Qt-like).
Change-Id: Id9a31fe6bf278c8c3bb1e61e00a9febf7f1a2664
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/corelib/tools/qsharedpointer.cpp')
0 files changed, 0 insertions, 0 deletions
