diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-11-02 11:25:31 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-11-10 14:16:00 +0100 |
commit | bccce15a15a4168c75de545732e43d7f80d0e205 (patch) | |
tree | c77739573206439794f3783cf5cbd01925aa6e43 | |
parent | 3bcca98b4a6292648311113aea7755ca8fb69a0c (diff) |
CMake: Build docs for imageformats repo
pro2cmake only generates qt_internal_add_docs() calls for module
targets. qtimageformats doesn't have any modules, but still needs
documentation. Create a custom interface library target and
provide it as the argument for the qt_internal_add_docs() call.
Change-Id: I1cf4942f291cff90b7765534a8db7630c2c9cd78
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
-rw-r--r-- | src/imageformats/.prev_CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/imageformats/CMakeLists.txt | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/imageformats/.prev_CMakeLists.txt b/src/imageformats/.prev_CMakeLists.txt new file mode 100644 index 0000000..989075a --- /dev/null +++ b/src/imageformats/.prev_CMakeLists.txt @@ -0,0 +1,2 @@ +# Generated from imageformats.pro. + diff --git a/src/imageformats/CMakeLists.txt b/src/imageformats/CMakeLists.txt index 989075a..7a07dff 100644 --- a/src/imageformats/CMakeLists.txt +++ b/src/imageformats/CMakeLists.txt @@ -1,2 +1,9 @@ # Generated from imageformats.pro. +# special case begin +add_library(ImageFormats INTERFACE) +qt_internal_add_docs(ImageFormats + doc/qtimageformats.qdocconf +) +# special case end + |