Skip to content

Improve component install feature

Component install is a nice feature but it could be improved upon for more ease of use and usefulness.

project is a 4 installable component project, with comp4 part of EXCLUDE_FROM_ALL

  1. Multi comnponent install

cmake --install ./ --component comp1,comp2,comp3,comp4

install all four components

  1. Exclude component from command line

cmake --install ./ --exclude-component comp3

install comp1 and comp2

  1. List available component (do not perform install but list components only)

cmake --install ./ --list-components

comp1
comp2
comp3
comp4 (EXCLUDE_FROM_ALL)
  1. Install everything even EXCLUDE_FROM_ALL

cmake --install ./ --even-exclude-from-all

Of course, this is some usecases that came into my mind, maybe this is not realistic, maybe other usecases should be supported.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information