|
|
@ -62,20 +62,19 @@ tde_add_executable( dbusxml2qt3
|
|
|
|
##### add apidox targets ############
|
|
|
|
##### add apidox targets ############
|
|
|
|
|
|
|
|
|
|
|
|
add_custom_target( apidox
|
|
|
|
add_custom_target( apidox
|
|
|
|
COMMAND test -d ${APIDOX_DIRECTORY} || mkdir -p ${APIDOX_DIRECTORY}
|
|
|
|
|
|
|
|
COMMAND doxygen ${CMAKE_BINARY_DIR}/dbus-1-tqt.Doxyfile
|
|
|
|
COMMAND doxygen ${CMAKE_BINARY_DIR}/dbus-1-tqt.Doxyfile
|
|
|
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
|
|
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
add_custom_target( install-apidox
|
|
|
|
add_custom_target( install-apidox
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E echo Apidox installed in /${APIDOX_HTML_DIRECTORY}
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E echo Apidox installed in ${APIDOX_HTML_DIRECTORY}
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
install( CODE "
|
|
|
|
install( CODE "
|
|
|
|
if( EXISTS ${CMAKE_BINARY_DIR}/${APIDOX_HTML_DIRECTORY} )
|
|
|
|
if( EXISTS ${CMAKE_BINARY_DIR}/apidocs )
|
|
|
|
file(
|
|
|
|
file(
|
|
|
|
INSTALL ${CMAKE_BINARY_DIR}/${APIDOX_HTML_DIRECTORY}/en
|
|
|
|
INSTALL ${CMAKE_BINARY_DIR}/apidocs/
|
|
|
|
DESTINATION /${APIDOX_HTML_DIRECTORY}
|
|
|
|
DESTINATION ${APIDOX_HTML_DIRECTORY}/en
|
|
|
|
)
|
|
|
|
)
|
|
|
|
endif()"
|
|
|
|
endif()"
|
|
|
|
)
|
|
|
|
)
|
|
|
|