OCV_OPTION(ENABLE_WINRT_MODE "Build with Windows Runtime support" OFF IF WIN32 )
OCV_OPTION(ENABLE_WINRT_MODE_NATIVE "Build with Windows Runtime native C++ support" OFF IF WIN32 )
OCV_OPTION(ANDROID_EXAMPLES_WITH_LIBS "Build binaries of Android examples with native libraries" OFF IF ANDROID )
+OCV_OPTION(ENABLE_IMPL_COLLECTION "Collect implementation data on function call" OFF )
+
+if(ENABLE_IMPL_COLLECTION)
+ add_definitions(-DCV_COLLECT_IMPL_DATA)
+endif()
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
# --- LATEX for pdf documentation ---
+unset(HAVE_DOXYGEN CACHE)
if(BUILD_DOCS)
include(cmake/OpenCVFindLATEX.cmake)
+ find_host_program(DOXYGEN_BUILD doxygen)
+ if (DOXYGEN_BUILD)
+ set(HAVE_DOXYGEN 1)
+ endif (DOXYGEN_BUILD)
endif(BUILD_DOCS)
# --- Python Support ---
status(" Sphinx:" HAVE_SPHINX THEN "${SPHINX_BUILD} (ver ${SPHINX_VERSION})" ELSE NO)
status(" PdfLaTeX compiler:" PDFLATEX_COMPILER THEN "${PDFLATEX_COMPILER}" ELSE NO)
status(" PlantUML:" PLANTUML THEN "${PLANTUML}" ELSE NO)
+ status(" Doxygen:" HAVE_DOXYGEN THEN "YES (${DOXYGEN_BUILD})" ELSE NO)
endif()
# ========================== samples and tests ==========================