qt5base-lts/tests/auto/cmake/test_import_plugins
Alexandru Croitor c4df673dd9 CMake: Replace qt_finalize_executable with qt_finalize_target
It's very likely that we'll have to run certain finalizer code for
targets other than executables.

Rename qt_finalize_executable to _qt_internal_finalize_executable so
it's internal.

Introduce a new function qt_finalize_target which will call the above
internal one when the target is an executable.

This should future proof the API so we have a hook to call code for
any user CMake project that intends to use Qt CMake API.

Change-Id: I03f6f4dcba22461351c247a20241ca7de1a59c1d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2021-05-20 19:40:45 +02:00
..
check.cpp.in CMake: Resurrect test_import_plugins cmake build tests 2021-05-11 14:35:30 +02:00
CMakeLists.txt CMake: Replace qt_finalize_executable with qt_finalize_target 2021-05-20 19:40:45 +02:00
main.cpp CMake: Resurrect test_import_plugins cmake build tests 2021-05-11 14:35:30 +02:00