aboutsummaryrefslogtreecommitdiffhomepage
path: root/example
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2025-08-11 01:21:28 +0300
committerlevlam <levlam@telegram.org>2025-08-11 01:21:28 +0300
commitbc32c4b20a92df817c45d8af675a7a9572b739bc (patch)
tree7e3bbe33151b7dc43b899dcedcfcd53f4fb94ede /example
parent9768de921439acc96e664819f3eac910a70af664 (diff)
Remove now unneeded specific working directory for Javadoc invocation.
Javadoc tried to recursively traverse the directory and generate documentation for all found Java files additionally to the specified files. Build directory which is the default working directory shouldn't contain unexpected Java files.
Diffstat (limited to 'example')
-rw-r--r--example/java/CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/example/java/CMakeLists.txt b/example/java/CMakeLists.txt
index cd7c1033f..da54d8bf2 100644
--- a/example/java/CMakeLists.txt
+++ b/example/java/CMakeLists.txt
@@ -75,7 +75,6 @@ add_custom_target(build_java
add_custom_target(generate_javadoc
COMMAND ${CMAKE_COMMAND} -E ${CMAKE_RM_COMMAND} "${JAVA_OUTPUT_DIRECTORY}/../docs"
COMMAND ${Java_JAVADOC_EXECUTABLE} -encoding UTF-8 -charset UTF-8 -d "${JAVA_OUTPUT_DIRECTORY}/../docs" ${JAVA_SOURCE_FILES}
- WORKING_DIRECTORY ${TD_API_JAVA_PATH}
COMMENT "Generating Javadoc documentation"
DEPENDS td_generate_java_api
)