|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
#################################################
|
|
|
|
|
#################################################
|
|
|
|
|
#
|
|
|
|
|
# (C) 2010-2011 Serghei Amelian
|
|
|
|
|
# serghei (DOT) amelian (AT) gmail.com
|
|
|
|
@ -62,20 +62,19 @@ tde_add_executable( dbusxml2qt3
|
|
|
|
|
##### add apidox targets ############
|
|
|
|
|
|
|
|
|
|
add_custom_target( apidox
|
|
|
|
|
COMMAND test -d ${APIDOX_DIRECTORY} || mkdir -p ${APIDOX_DIRECTORY}
|
|
|
|
|
COMMAND doxygen ${CMAKE_BINARY_DIR}/dbus-1-tqt.Doxyfile
|
|
|
|
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
|
|
|
|
)
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
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 "
|
|
|
|
|
if( EXISTS ${CMAKE_BINARY_DIR}/${APIDOX_HTML_DIRECTORY} )
|
|
|
|
|
if( EXISTS ${CMAKE_BINARY_DIR}/apidocs )
|
|
|
|
|
file(
|
|
|
|
|
INSTALL ${CMAKE_BINARY_DIR}/${APIDOX_HTML_DIRECTORY}/en
|
|
|
|
|
DESTINATION /${APIDOX_HTML_DIRECTORY}
|
|
|
|
|
INSTALL ${CMAKE_BINARY_DIR}/apidocs/
|
|
|
|
|
DESTINATION ${APIDOX_HTML_DIRECTORY}/en
|
|
|
|
|
)
|
|
|
|
|
endif()"
|
|
|
|
|
)
|
|
|
|
|