repaired opencv refman & refman1 build
This commit is contained in:
parent
e5eb9868f6
commit
a7b9c31e6a
@ -832,7 +832,7 @@ endif()
|
||||
|
||||
|
||||
################## Reference Manual ##################
|
||||
set(BUILD_REFMAN ON CACHE BOOL "Build OpenCV Reference Manual")
|
||||
set(BUILD_DOCS ON CACHE BOOL "Build OpenCV Reference Manual")
|
||||
|
||||
|
||||
################### DOXYGEN ###############
|
||||
@ -1284,7 +1284,7 @@ endif()
|
||||
add_subdirectory(include)
|
||||
add_subdirectory(modules)
|
||||
|
||||
if(BUILD_REFMAN)
|
||||
if(BUILD_DOCS)
|
||||
include(OpenCVFindLATEX.cmake REQUIRED)
|
||||
|
||||
if(PDFLATEX_COMPILER)
|
||||
@ -1292,7 +1292,7 @@ if(BUILD_REFMAN)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
add_subdirectory(docroot)
|
||||
add_subdirectory(doc)
|
||||
add_subdirectory(data)
|
||||
|
||||
if(BUILD_EXAMPLES OR INSTALL_PYTHON_EXAMPLES)
|
||||
@ -1482,10 +1482,10 @@ endif()
|
||||
message(STATUS "")
|
||||
message(STATUS " Documentation: ")
|
||||
|
||||
if(BUILD_REFMAN AND PDFLATEX_COMPILER AND HAVE_SPHINX)
|
||||
message(STATUS " Build Reference Manual: YES")
|
||||
if(BUILD_DOCS AND PDFLATEX_COMPILER AND HAVE_SPHINX)
|
||||
message(STATUS " Build Documentation: YES")
|
||||
else()
|
||||
message(STATUS " Build Reference Manual: NO")
|
||||
message(STATUS " Build Documentation: NO")
|
||||
endif()
|
||||
|
||||
#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_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(opencv2)
|
||||
|
@ -8,7 +8,7 @@ add_custom_target(refman1
|
||||
-b latex -c ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR} .
|
||||
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
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../mymath.sty ${CMAKE_CURRENT_BINARY_DIR}
|
||||
COMMAND ${PDFLATEX_COMPILER} opencv1x
|
||||
|
Before Width: | Height: | Size: 371 KiB After Width: | Height: | Size: 371 KiB |
Loading…
Reference in New Issue
Block a user