pom: Do not generate pom files for blacklist

When generating pom files from CXX targets for JAVA, check against the
JAVA blacklist file.  Remove any targets in the blacklist prior to
generating the pom file.

Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
Noel Eck 2017-04-24 10:59:07 -07:00
parent 21ecbd90eb
commit e3a8b2fc13

@ -116,6 +116,9 @@ endfunction (_gen_pkg_config_per_target)
# This function iterates over all provided target names and
# writes a pom file to each build directory
function (_gen_pom_per_target)
# Remove targets listed in the JAVA blacklist from pom file generation
list(REMOVE_ITEM ARGN ${JAVASWIG_BLACKLIST})
list(LENGTH ARGN n_targets)
message(STATUS "Generating pom files for ${n_targets} CXX libraries...")
# Iterate over the targets an build pom files