From: RAJKIRAN NATARAJAN Date: Sat, 2 Mar 2019 20:19:00 +0000 (-0500) Subject: Need -DBUILD_DOCS CMake flag to build docs X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~1^2~311^2~3^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=98f89f90794fdded08ece4cff60fee119f28d61f;p=platform%2Fupstream%2Fopencv.git Need -DBUILD_DOCS CMake flag to build docs Must have that flag. Otherwise following "doxygen overview" tutorial won't work. --- diff --git a/doc/tutorials/introduction/documenting_opencv/documentation_tutorial.markdown b/doc/tutorials/introduction/documenting_opencv/documentation_tutorial.markdown index 0f26daf..0379a3e 100644 --- a/doc/tutorials/introduction/documenting_opencv/documentation_tutorial.markdown +++ b/doc/tutorials/introduction/documenting_opencv/documentation_tutorial.markdown @@ -32,11 +32,11 @@ Generate documentation {#tutorial_documentation_generate} - Create build directory near the sources folder(s) and go into it - Run cmake (assuming you put sources to _opencv_ folder): @code{.sh} - cmake ../opencv + cmake -DBUILD_DOCS=ON ../opencv @endcode Or if you get contrib sources too: @code{.sh} - cmake -DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules ../opencv + cmake -DBUILD_DOCS=ON -DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules ../opencv @endcode - Run make: @code{.sh}