cmake: installation support for git
authorSibi Siddharthan <redacted>
Fri, 26 Jun 2020 16:11:33 +0000 (16:11 +0000)
committerJunio C Hamano <redacted>
Fri, 26 Jun 2020 17:08:46 +0000 (10:08 -0700)
commitf1f5dff9e7c0ea528ea422922bbe128e24aa83a8
tree4251c90c69cdb00169e5ed791ffc0df323131e8d
parentafa45fe5c00165fe9132974098427175a0f1ca80
cmake: installation support for git

Install the built binaries and scripts using CMake

This is very similar to `make install`.
By default the destination directory(DESTDIR) is /usr/local/ on Linux
To set a custom installation path do this:
cmake `relative-path-to-srcdir`
-DCMAKE_INSTALL_PREFIX=`preferred-install-path`

Then run `make install`

Signed-off-by: Sibi Siddharthan <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/buildsystems/CMakeLists.txt
git clone https://git.99rst.org/PROJECT