diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2021-09-08 13:06:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-08 13:06:22 (GMT) |
commit | 53ecc9c49f44e4eb8cf79f3121572e1a91c507fa (patch) | |
tree | 6ca48b4271af933d00c2937e0437fd73d7531c58 /config/cmake/UseJavaClassFilelist.cmake | |
parent | d0507c23f30fc1ff66ae4a31d41f681612e51851 (diff) | |
download | hdf5-53ecc9c49f44e4eb8cf79f3121572e1a91c507fa.zip hdf5-53ecc9c49f44e4eb8cf79f3121572e1a91c507fa.tar.gz hdf5-53ecc9c49f44e4eb8cf79f3121572e1a91c507fa.tar.bz2 |
Merge Sync CMake java macros with cmake repo #982 (#991)
Diffstat (limited to 'config/cmake/UseJavaClassFilelist.cmake')
-rw-r--r-- | config/cmake/UseJavaClassFilelist.cmake | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/config/cmake/UseJavaClassFilelist.cmake b/config/cmake/UseJavaClassFilelist.cmake index 8348e4c..d90ca48 100644 --- a/config/cmake/UseJavaClassFilelist.cmake +++ b/config/cmake/UseJavaClassFilelist.cmake @@ -1,17 +1,8 @@ # Distributed under the OSI-approved BSD 3-Clause License. See https://cmake.org/licensing for details. -#[=======================================================================[.rst: -UseJavaClassFilelist --------------------- - - - - - -This script create a list of compiled Java class files to be added to -a jar file. This avoids including cmake files which get created in -the binary directory. -#]=======================================================================] +# This script creates a list of compiled Java class files to be added to +# a jar file. This avoids including cmake files which get created in +# the binary directory. if (CMAKE_JAVA_CLASS_OUTPUT_PATH) if (EXISTS "${CMAKE_JAVA_CLASS_OUTPUT_PATH}") @@ -23,7 +14,7 @@ if (CMAKE_JAVA_CLASS_OUTPUT_PATH) file(GLOB_RECURSE _JAVA_GLOBBED_TMP_FILES "${CMAKE_JAVA_CLASS_OUTPUT_PATH}/${JAR_CLASS_PREFIX}/*.class") if (_JAVA_GLOBBED_TMP_FILES) - list (APPEND _JAVA_GLOBBED_FILES ${_JAVA_GLOBBED_TMP_FILES}) + list(APPEND _JAVA_GLOBBED_FILES ${_JAVA_GLOBBED_TMP_FILES}) endif () endforeach() else() |