Rename the <module>_timestamp target to <module>_pri_dep_timestamp

Make the target purpose more understandable from its name.

Change-Id: I4f4a56fd3ef338b728d4a81edc2df32cada97f6c
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Alexey Edelev 2022-07-12 11:18:17 +02:00
parent 4f56b7d841
commit babb4ec4a6
2 changed files with 2 additions and 2 deletions

View File

@ -503,7 +503,7 @@ function(qt_internal_add_module target)
COMMAND ${CMAKE_COMMAND} -E touch "${timestamp_file}"
DEPENDS "$<TARGET_PROPERTY:${target},_qt_module_timestamp_dependencies>"
VERBATIM)
add_custom_target(${target}_timestamp ALL DEPENDS "${timestamp_file}")
add_custom_target(${target}_pri_dep_timestamp ALL DEPENDS "${timestamp_file}")
endif()
set(defines_for_extend_target "")

View File

@ -534,7 +534,7 @@ QT.${config_module_name}_private.disabled_features = ${disabled_private_features
VERBATIM)
add_custom_target(${target}_lib_pri DEPENDS "${private_pri_file_path}")
if(arg_HEADER_MODULE)
add_dependencies(${target}_timestamp ${target}_lib_pri)
add_dependencies(${target}_pri_dep_timestamp ${target}_lib_pri)
else()
add_dependencies(${target} ${target}_lib_pri)
endif()