mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
repaired opencv refman & refman1 build
This commit is contained in:
parent
e5eb9868f6
commit
a7b9c31e6a
@ -832,7 +832,7 @@ endif()
|
|||||||
|
|
||||||
|
|
||||||
################## Reference Manual ##################
|
################## Reference Manual ##################
|
||||||
set(BUILD_REFMAN ON CACHE BOOL "Build OpenCV Reference Manual")
|
set(BUILD_DOCS ON CACHE BOOL "Build OpenCV Reference Manual")
|
||||||
|
|
||||||
|
|
||||||
################### DOXYGEN ###############
|
################### DOXYGEN ###############
|
||||||
@ -1284,7 +1284,7 @@ endif()
|
|||||||
add_subdirectory(include)
|
add_subdirectory(include)
|
||||||
add_subdirectory(modules)
|
add_subdirectory(modules)
|
||||||
|
|
||||||
if(BUILD_REFMAN)
|
if(BUILD_DOCS)
|
||||||
include(OpenCVFindLATEX.cmake REQUIRED)
|
include(OpenCVFindLATEX.cmake REQUIRED)
|
||||||
|
|
||||||
if(PDFLATEX_COMPILER)
|
if(PDFLATEX_COMPILER)
|
||||||
@ -1292,7 +1292,7 @@ if(BUILD_REFMAN)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectory(docroot)
|
add_subdirectory(doc)
|
||||||
add_subdirectory(data)
|
add_subdirectory(data)
|
||||||
|
|
||||||
if(BUILD_EXAMPLES OR INSTALL_PYTHON_EXAMPLES)
|
if(BUILD_EXAMPLES OR INSTALL_PYTHON_EXAMPLES)
|
||||||
@ -1482,10 +1482,10 @@ endif()
|
|||||||
message(STATUS "")
|
message(STATUS "")
|
||||||
message(STATUS " Documentation: ")
|
message(STATUS " Documentation: ")
|
||||||
|
|
||||||
if(BUILD_REFMAN AND PDFLATEX_COMPILER AND HAVE_SPHINX)
|
if(BUILD_DOCS AND PDFLATEX_COMPILER AND HAVE_SPHINX)
|
||||||
message(STATUS " Build Reference Manual: YES")
|
message(STATUS " Build Documentation: YES")
|
||||||
else()
|
else()
|
||||||
message(STATUS " Build Reference Manual: NO")
|
message(STATUS " Build Documentation: NO")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
#if(BUILD_DOXYGEN_DOCS AND DOXYGEN_FOUND)
|
#if(BUILD_DOXYGEN_DOCS AND DOXYGEN_FOUND)
|
||||||
|
@ -7,7 +7,7 @@ file(GLOB FILES_DOC_VS vidsurv/*.doc)
|
|||||||
file(GLOB FILES_TEX *.tex *.sty *.bib)
|
file(GLOB FILES_TEX *.tex *.sty *.bib)
|
||||||
file(GLOB FILES_TEX_PICS pics/*.png pics/*.jpg)
|
file(GLOB FILES_TEX_PICS pics/*.png pics/*.jpg)
|
||||||
|
|
||||||
if(BUILD_REFMAN AND PDFLATEX_COMPILER AND HAVE_SPHINX)
|
if(BUILD_DOCS AND PDFLATEX_COMPILER AND HAVE_SPHINX)
|
||||||
|
|
||||||
add_subdirectory(opencv1)
|
add_subdirectory(opencv1)
|
||||||
add_subdirectory(opencv2)
|
add_subdirectory(opencv2)
|
||||||
|
@ -8,7 +8,7 @@ add_custom_target(refman1
|
|||||||
-b latex -c ${CMAKE_CURRENT_SOURCE_DIR}
|
-b latex -c ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
${CMAKE_CURRENT_SOURCE_DIR} .
|
${CMAKE_CURRENT_SOURCE_DIR} .
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/pics ${CMAKE_CURRENT_BINARY_DIR}/pics
|
${CMAKE_CURRENT_SOURCE_DIR}/../pics ${CMAKE_CURRENT_BINARY_DIR}/pics
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy
|
COMMAND ${CMAKE_COMMAND} -E copy
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/../mymath.sty ${CMAKE_CURRENT_BINARY_DIR}
|
${CMAKE_CURRENT_SOURCE_DIR}/../mymath.sty ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
COMMAND ${PDFLATEX_COMPILER} opencv1x
|
COMMAND ${PDFLATEX_COMPILER} opencv1x
|
||||||
|
Before Width: | Height: | Size: 371 KiB After Width: | Height: | Size: 371 KiB |
Loading…
Reference in New Issue
Block a user