Merge branch 'docs'
This commit is contained in:
commit
957921b01e
3 changed files with 2478 additions and 258 deletions
|
@ -19,9 +19,9 @@ SET(PACKAGE_SOVERSION 2)
|
||||||
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
|
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
|
||||||
|
|
||||||
IF (PACKAGE_SUBVERSION)
|
IF (PACKAGE_SUBVERSION)
|
||||||
SET(DISPLAYED_VERSION "${PACKAGE_VERSION}_${PACKAGE_SUBVERSION}")
|
SET(DISPLAYED_VERSION "${PACKAGE_VERSION}_${PACKAGE_SUBVERSION}")
|
||||||
ELSE (PACKAGE_SUBVERSION)
|
ELSE (PACKAGE_SUBVERSION)
|
||||||
SET(DISPLAYED_VERSION ${PACKAGE_VERSION})
|
SET(DISPLAYED_VERSION ${PACKAGE_VERSION})
|
||||||
ENDIF(PACKAGE_SUBVERSION)
|
ENDIF(PACKAGE_SUBVERSION)
|
||||||
|
|
||||||
SET(BUILD_LIBTELLDUS-CORE TRUE CACHE BOOL "Build libtelldus-core")
|
SET(BUILD_LIBTELLDUS-CORE TRUE CACHE BOOL "Build libtelldus-core")
|
||||||
|
@ -60,3 +60,21 @@ ENDIF(BUILD_TDADMIN)
|
||||||
|
|
||||||
ENABLE_TESTING()
|
ENABLE_TESTING()
|
||||||
ADD_SUBDIRECTORY(tests)
|
ADD_SUBDIRECTORY(tests)
|
||||||
|
|
||||||
|
FIND_PACKAGE(Doxygen)
|
||||||
|
|
||||||
|
IF(DOXYGEN_FOUND)
|
||||||
|
SET(DOXY_CONFIG ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
|
||||||
|
|
||||||
|
CONFIGURE_FILE(
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in"
|
||||||
|
${DOXY_CONFIG} @ONLY
|
||||||
|
)
|
||||||
|
|
||||||
|
ADD_CUSTOM_TARGET(docs
|
||||||
|
${DOXYGEN_EXECUTABLE} ${DOXY_CONFIG}
|
||||||
|
DEPENDS ${DOXY_CONFIG}
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
COMMENT "Generating doxygen documentation" VERBATIM
|
||||||
|
)
|
||||||
|
ENDIF()
|
||||||
|
|
1712
telldus-core/Doxyfile.in
Normal file
1712
telldus-core/Doxyfile.in
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue