cmake: move doxygen target to CMakeLists.txt
This commit is contained in:
parent
0aa87e68b8
commit
92e7c4f940
|
@ -118,6 +118,10 @@ IF(AWESOME_GENERATE_MAN)
|
|||
ENDFOREACH()
|
||||
ENDIF()
|
||||
|
||||
IF(DOXYGEN_EXECUTABLE)
|
||||
ADD_CUSTOM_TARGET(doc ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/awesome.doxygen)
|
||||
ENDIF()
|
||||
|
||||
INSTALL(TARGETS ${PROJECT_AWE_NAME} ${PROJECT_AWECLIENT_NAME} RUNTIME DESTINATION bin)
|
||||
INSTALL(FILES ${AWE_LUA_FILES} DESTINATION ${AWESOME_REL_LUA_LIB_PATH})
|
||||
INSTALL(FILES ${AWE_CONF_FILES} DESTINATION ${AWESOME_REL_CONF_PATH})
|
||||
|
|
|
@ -124,10 +124,6 @@ IF(NOT LUA_LIB)
|
|||
MESSAGE(FATAL_ERROR "lua library not found")
|
||||
ENDIF()
|
||||
|
||||
IF(DOXYGEN_EXECUTABLE)
|
||||
ADD_CUSTOM_TARGET(doc ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/awesome.doxygen)
|
||||
ENDIF()
|
||||
|
||||
IF(ASCIIDOC_EXECUTABLE AND XMLTO_EXECUTABLE AND GZIP_EXECUTABLE)
|
||||
SET(AWESOME_GENERATE_MAN TRUE)
|
||||
ENDIF()
|
||||
|
|
Loading…
Reference in New Issue