Add the meta target that allows building all plugins at once
Add the qt_<plugin_type>_plugins_all target that allows building all plugins of the <plugin_type> from build tree at once. Change-Id: Ie5057b9c51dcdfba36e3572064533d698d7549e9 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
8272b747d3
commit
453b20ea94
@ -115,6 +115,12 @@ function(qt_internal_add_plugin target)
|
||||
|
||||
qt_get_sanitized_plugin_type("${plugin_type}" plugin_type_escaped)
|
||||
|
||||
if(NOT TARGET qt_${plugin_type_escaped}_plugins_all)
|
||||
add_custom_target(qt_${plugin_type_escaped}_plugins_all)
|
||||
endif()
|
||||
add_dependencies(qt_${plugin_type_escaped}_plugins_all ${target})
|
||||
|
||||
|
||||
set(output_directory_default "${QT_BUILD_DIR}/${INSTALL_PLUGINSDIR}/${plugin_type}")
|
||||
set(install_directory_default "${INSTALL_PLUGINSDIR}/${plugin_type}")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user