Page MenuHomePhorge

CMakeLists.txt
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

CMakeLists.txt

if (DOXYGEN_FOUND)
if (ROSA_ENABLE_DOXYGEN)
set(abs_top_srcdir ${ROSA_MAIN_SRC_DIR})
set(abs_top_builddir ${ROSA_BINARY_DIR})
if (HAVE_DOT)
set(HAVE_DOT "YES")
set(DOT ${ROSA_PATH_DOT})
else()
set(HAVE_DOT "NO")
endif()
if (ROSA_DOXYGEN_EXTERNAL_SEARCH)
set(enable_searchengine "YES")
set(searchengine_url "${ROSA_DOXYGEN_SEARCHENGINE_URL}")
set(enable_server_based_search "YES")
set(enable_external_search "YES")
set(extra_search_mappings "${ROSA_DOXYGEN_SEARCH_MAPPINGS}")
else()
set(enable_searchengine "NO")
set(searchengine_url "")
set(enable_server_based_search "NO")
set(enable_external_search "NO")
set(extra_search_mappings "")
endif()
option(ROSA_DOXYGEN_SVG
"Use svg instead of png files for doxygen graphs." OFF)
if (ROSA_DOXYGEN_SVG)
set(DOT_IMAGE_FORMAT "svg")
else()
set(DOT_IMAGE_FORMAT "png")
endif()
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/doxygen.cfg.in
${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg @ONLY)
set(abs_top_srcdir)
set(abs_top_builddir)
set(DOT)
set(enable_searchengine)
set(searchengine_url)
set(enable_server_based_search)
set(enable_external_search)
set(extra_search_mappings)
set(DOT_IMAGE_FORMAT)
add_custom_target(doxygen-rosa
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Generating RoSA doxygen documentation." VERBATIM)
if (ROSA_BUILD_DOCS)
add_dependencies(doxygen doxygen-rosa)
endif()
#TODO: install?
endif()
endif()
if (ROSA_ENABLE_SPHINX)
if (SPHINX_FOUND)
include(AddSphinxTarget)
if (${SPHINX_OUTPUT_HTML})
add_sphinx_target(html rosa)
endif()
if (${SPHINX_OUTPUT_MAN})
add_sphinx_target(man rosa)
endif()
#TODO: install?
endif()
endif()

File Metadata

Mime Type
text/plain
Expires
Sun, Jun 8, 7:14 PM (23 h, 3 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
149329
Default Alt Text
CMakeLists.txt (1 KB)

Event Timeline