diff options
author | Matthew Woehlke <matthew.woehlke@kitware.com> | 2013-03-26 16:14:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-03-28 14:35:42 (GMT) |
commit | 8a2fca8cd7e502a7b1ed820af8c3c75a356576e7 (patch) | |
tree | a72e4170ca798f2b1aee930d0e2a9144881d06bc /bootstrap | |
parent | adeafad48883ee5d6e7dbff3503d692a30e90912 (diff) | |
download | CMake-8a2fca8cd7e502a7b1ed820af8c3c75a356576e7.zip CMake-8a2fca8cd7e502a7b1ed820af8c3c75a356576e7.tar.gz CMake-8a2fca8cd7e502a7b1ed820af8c3c75a356576e7.tar.bz2 |
UseJava.cmake: require explicit request to include jars
Modify add_jar to (partly) use cmake_parse_arguments, and to require
using the named argument list INCLUDE_JARS to specify jar files (or jar
targets) to use as dependencies when creating a jar. This preserves the
ability to have such, while restoring the historic behavior that jar
files listed as sources are ignored. (The code now explicitly ignores
them, however, rather than adding them to an unused local variable, so
that it is more clear that nothing is being done with them.)
Diffstat (limited to 'bootstrap')
0 files changed, 0 insertions, 0 deletions