Sha256: d4b78918f28f11c4b216fab161a3a52a87640d491dab025b4503ea60fb7b919f

Contents?: true

Size: 846 Bytes

Versions: 31

Compression:

Stored size: 846 Bytes

Contents

FIND_PROGRAM(doxygenPath doxygen)

IF (doxygenPath)
  SET (YAJL_VERSION ${YAJL_MAJOR}.${YAJL_MINOR}.${YAJL_MICRO})
  SET(yajlDirName yajl-${YAJL_VERSION})
  SET(docPath
      "${CMAKE_CURRENT_BINARY_DIR}/${yajlDirName}/share/doc/${yajlDirName}")
  MESSAGE("** using doxygen at: ${doxygenPath}")
  MESSAGE("** documentation output to: ${docPath}")

  CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/src/YAJL.dxy
                 ${CMAKE_CURRENT_BINARY_DIR}/YAJL.dxy @ONLY)

  FILE(MAKE_DIRECTORY "${docPath}")

  ADD_CUSTOM_TARGET(doc
                    ${doxygenPath} YAJL.dxy   
                    WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})

ELSE (doxygenPath)
  MESSAGE("!! doxygen not found, not generating documentation")     
  ADD_CUSTOM_TARGET(
    doc
    echo doxygen not installed, not generating documentation
  )
ENDIF (doxygenPath)

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
libyajl2-2.1.0 ext/libyajl2/vendor/yajl/YAJLDoc.cmake
libyajl2-2.0.0 ext/libyajl2/vendor/yajl/YAJLDoc.cmake
libyajl2-1.2.0 ext/libyajl2/vendor/yajl/YAJLDoc.cmake
libyajl2-1.1.0 ext/libyajl2/vendor/yajl/YAJLDoc.cmake
libyajl2-1.0.1 ext/libyajl2/vendor/yajl/YAJLDoc.cmake
libyajl2-0.1.18 ext/libyajl2/vendor/yajl/YAJLDoc.cmake
libyajl2-0.1.17 ext/libyajl2/vendor/yajl/YAJLDoc.cmake
libyajl2-0.1.16 ext/libyajl2/vendor/yajl/YAJLDoc.cmake
libyajl2-0.1.15 ext/libyajl2/vendor/yajl/YAJLDoc.cmake
libyajl2-0.1.14 ext/libyajl2/vendor/yajl/YAJLDoc.cmake
libyajl2-0.1.13 ext/libyajl2/vendor/yajl/YAJLDoc.cmake
libyajl2-0.1.12 ext/libyajl2/vendor/yajl/YAJLDoc.cmake
libyajl2-0.1.11 ext/libyajl2/vendor/yajl/YAJLDoc.cmake
libyajl2-0.1.10 ext/libyajl2/vendor/yajl/YAJLDoc.cmake
libyajl2-0.1.9 ext/libyajl2/vendor/yajl/YAJLDoc.cmake
libyajl2-0.1.8 ext/libyajl2/vendor/yajl/YAJLDoc.cmake
libyajl2-0.1.7 ext/libyajl2/vendor/yajl/YAJLDoc.cmake
libyajl2-0.1.6 ext/libyajl2/vendor/yajl/YAJLDoc.cmake
libyajl2-0.1.5 ext/libyajl2/vendor/yajl/YAJLDoc.cmake
libyajl2-0.1.4 ext/libyajl2/vendor/yajl/YAJLDoc.cmake