mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 06:26:29 +08:00
Merge pull request #13953 from saskatchewancatch:patch-1
This commit is contained in:
commit
b9a6a96324
@ -32,11 +32,11 @@ Generate documentation {#tutorial_documentation_generate}
|
|||||||
- Create build directory near the sources folder(s) and go into it
|
- Create build directory near the sources folder(s) and go into it
|
||||||
- Run cmake (assuming you put sources to _opencv_ folder):
|
- Run cmake (assuming you put sources to _opencv_ folder):
|
||||||
@code{.sh}
|
@code{.sh}
|
||||||
cmake ../opencv
|
cmake -DBUILD_DOCS=ON ../opencv
|
||||||
@endcode
|
@endcode
|
||||||
Or if you get contrib sources too:
|
Or if you get contrib sources too:
|
||||||
@code{.sh}
|
@code{.sh}
|
||||||
cmake -DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules ../opencv
|
cmake -DBUILD_DOCS=ON -DOPENCV_EXTRA_MODULES_PATH=../opencv_contrib/modules ../opencv
|
||||||
@endcode
|
@endcode
|
||||||
- Run make:
|
- Run make:
|
||||||
@code{.sh}
|
@code{.sh}
|
||||||
|
Loading…
Reference in New Issue
Block a user