Commit 9ae11fb8 authored by Rohit Gupta's avatar Rohit Gupta

Cmake File for doxygen building

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7562 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent ec19f9b0
cmake_minimum_required(VERSION 2.8)
include(${CMAKE_CURRENT_SOURCE_DIR}/../CMakeLists.txt)
find_package(Doxygen)
if(DOXYGEN_FOUND)
configure_file(${OPENAIR_TARGETS}/DOCS/Doxyfile ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
add_custom_target(doc
${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Generating API documentation with Doxygen" VERBATIM
)
endif(DOXYGEN_FOUND)
  • Hi Rohit, why do we need a separate CMakeList.txt for this. This could also be part of the partent CMakeList.txt, no? Florian.

Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment