From e9458c1f6d58ebe1a65566cf1c7559e84b46d079 Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Fri, 22 Jul 2011 06:13:04 +0000 Subject: [PATCH] Errors from javadoc generator are redirected to log file. --- modules/java/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/java/CMakeLists.txt b/modules/java/CMakeLists.txt index e59c7b3..c0242c5 100644 --- a/modules/java/CMakeLists.txt +++ b/modules/java/CMakeLists.txt @@ -163,7 +163,7 @@ endforeach() add_custom_command( TARGET ${api_target} PRE_BUILD - COMMAND ${PYTHON_EXECUTABLE} "${GEN_JAVADOC}" "${CMAKE_CURRENT_SOURCE_DIR}/src/java" "${CMAKE_CURRENT_BINARY_DIR}" + COMMAND ${PYTHON_EXECUTABLE} "${GEN_JAVADOC}" "${CMAKE_CURRENT_SOURCE_DIR}/src/java" "${CMAKE_CURRENT_BINARY_DIR}" 2>"${CMAKE_CURRENT_BINARY_DIR}/get_javadoc_errors.log" WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} DEPENDS ${java_project_files} DEPENDS ${generated_java_sources} -- 2.7.4