Add doc target for qmake
qmake currently doesn't have a doc target in CMake. In qmake builds, the doc target is in qtbase/ (not in qtbase/qmake). This patch mimics the mechanic used in QDoc, and adds this as a special case (as the project file doesn't contain the doc target). Fixes: QTBUG-87868 Change-Id: Ib1ca249465c5df2f22ba73084c680781e595c30a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
d0bc2cefd2
commit
5c352f47b9
@ -278,3 +278,10 @@ qt_internal_apply_gc_binaries(${target_name} PRIVATE) # special case
|
||||
qt_enable_msvc_cplusplus_define(${target_name} PUBLIC) # special case
|
||||
qt_skip_warnings_are_errors(${target_name}) # special case
|
||||
qt_internal_apply_intel_cet(Bootstrap PUBLIC) # special case
|
||||
|
||||
# special case begin
|
||||
qt_internal_add_docs(${target_name}
|
||||
doc/qmake.qdocconf
|
||||
)
|
||||
# special case end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user