diff options
| author | Brad King <brad.king@kitware.com> | 2014-01-08 14:58:41 (GMT) |
|---|---|---|
| committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-01-08 14:58:41 (GMT) |
| commit | afbac9f2d8d6e5fe8393b65b72fb7624d45a3d60 (patch) | |
| tree | f68171d48b1a8282eae75504602e15bebff0c9ca /Modules/UseJava.cmake | |
| parent | 3af2afafc0a52eb132db3a2035fc73b34035e52a (diff) | |
| parent | 884fb7f5b94e8bdcc28652167ef57e13c7a0ae39 (diff) | |
| download | CMake-afbac9f2d8d6e5fe8393b65b72fb7624d45a3d60.zip CMake-afbac9f2d8d6e5fe8393b65b72fb7624d45a3d60.tar.gz CMake-afbac9f2d8d6e5fe8393b65b72fb7624d45a3d60.tar.bz2 | |
Merge topic 'minor-cleanups'
884fb7f Remove obsolete workaround for old cmake versions.
5d1fc19 Help: Ensure that target-policies are added to the documentation.
efc43cd Help: Fix some erroneous code block markers in Module docs.
Diffstat (limited to 'Modules/UseJava.cmake')
| -rw-r--r-- | Modules/UseJava.cmake | 31 |
1 files changed, 12 insertions, 19 deletions
diff --git a/Modules/UseJava.cmake b/Modules/UseJava.cmake index f7f242b..654b4d0 100644 --- a/Modules/UseJava.cmake +++ b/Modules/UseJava.cmake @@ -8,19 +8,16 @@ # FindJava.cmake has already been loaded. See FindJava.cmake for # information on how to load Java into your CMake project. # -# add_jar(target_name -# # :: # +# add_jar(target_name # [SOURCES] source1 [source2 ...] [resource1 ...] # [INCLUDE_JARS jar1 [jar2 ...]] # [ENTRY_POINT entry] # [VERSION version] # [OUTPUT_NAME name] # [OUTPUT_DIR dir] -# ) -# -# +# ) # # This command creates a <target_name>.jar. It compiles the given # source files (source) and adds the given resource files (resource) to @@ -189,19 +186,14 @@ # CLASS_DIR The directory where the class files can be found. For # example to use them with javah. # -# -# -# find_jar(<VAR> -# # :: # +# find_jar(<VAR> # name | NAMES name1 [name2 ...] # [PATHS path1 [path2 ... ENV var]] # [VERSIONS version1 [version2]] # [DOC "cache documentation string"] -# ) -# -# +# ) # # This command is used to find a full path to the named jar. A cache # entry named by <VAR> is created to stor the result of this command. @@ -216,21 +208,24 @@ # the VERSIONS argument. The argument after DOC will be used for the # documentation string in the cache. # -# install_jar(TARGET_NAME DESTINATION) +# :: +# +# install_jar(TARGET_NAME DESTINATION) # # This command installs the TARGET_NAME files to the given DESTINATION. # It should be called in the same scope as add_jar() or it will fail. # -# install_jni_symlink(TARGET_NAME DESTINATION) +# :: +# +# install_jni_symlink(TARGET_NAME DESTINATION) # # This command installs the TARGET_NAME JNI symlinks to the given # DESTINATION. It should be called in the same scope as add_jar() or it # will fail. # -# create_javadoc(<VAR> -# # :: # +# create_javadoc(<VAR> # PACKAGES pkg1 [pkg2 ...] # [SOURCEPATH <sourcepath>] # [CLASSPATH <classpath>] @@ -240,9 +235,7 @@ # [AUTHOR TRUE|FALSE] # [USE TRUE|FALSE] # [VERSION TRUE|FALSE] -# ) -# -# +# ) # # Create java documentation based on files or packages. For more # details please read the javadoc manpage. |
