components: Refactor UPM install components

Removed the per-target install component in favor of a limited set of
insinstall components.

Available install components are: "upm" "upm-dev" "upm-java"
"upm-nodejs" "upm-python2" "upm-python3"

Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
Noel Eck
2017-11-16 12:00:42 -08:00
parent 71b2b9b1fc
commit f848deb35b
3 changed files with 29 additions and 13 deletions

View File

@ -456,4 +456,5 @@ endif()
# Install C headers
install(DIRECTORY include/ DESTINATION include/upm
COMPONENT ${CMAKE_PROJECT_NAME}-dev
FILES_MATCHING PATTERN "*.h")