Skip to content

cmake: add '--install <dir>' option as an alias for '--build <dir> --target install'

Jiang Yi requested to merge (removed):master into master

Once in a while someone ask if cmake provide an "install" option. I will be more user-friendly to type

cmake --install

instead of

cmake --build

--target install

The former saves some typing and makes the intention clearer.

Merge request reports