diff options
author | Michal Klocek <michal.klocek@qt.io> | 2021-09-21 13:29:14 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2021-10-14 00:05:56 +0200 |
commit | 589f4fc025f608590c5a364c7f154809a2f5d2dc (patch) | |
tree | ddcfe852257194217ed2bfacc1c0da6a875d2d6d /src/core/api/CMakeLists.txt | |
parent | d155f3da5d6e8ad08fab040d8f748d3bbdb69039 (diff) |
Add Chromium attributions target
Pick-to: 6.2
Change-Id: I4e659dffa119a8c9f41a266cd71e9afb9c36362e
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/api/CMakeLists.txt')
-rw-r--r-- | src/core/api/CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/core/api/CMakeLists.txt b/src/core/api/CMakeLists.txt index dd667df76..c74ac84ee 100644 --- a/src/core/api/CMakeLists.txt +++ b/src/core/api/CMakeLists.txt @@ -78,6 +78,19 @@ qt_internal_add_docs(WebEngineCore ../doc/qtwebengine.qdocconf ) +add_custom_command( + OUTPUT chromium_attributions.qdoc + COMMAND ${Python2_EXECUTABLE} chromium/tools/licenses.py + --file-template ../core/doc/about_credits.tmpl + --entry-template ../core/doc/about_credits_entry.tmpl + credits ${CMAKE_CURRENT_BINARY_DIR}/chromium_attributions.qdoc + DEPENDS ../doc/about_credits.tmpl ../doc/about_credits_entry.tmpl + WORKING_DIRECTORY ${WEBENGINE_ROOT_SOURCE_DIR}/src/3rdparty + USES_TERMINAL +) +add_custom_target(generate_chromium_attributions DEPENDS chromium_attributions.qdoc) +add_dependencies(generate_docs_WebEngineCore generate_chromium_attributions) + ## # WEBENGINECORE RESOURCES ## |