Sunday, December 13, 2015

Build cmake from source code

Run the bootstrap script you find in the source directory of CMake. You can use the --help option to see the supported options. run make and make install. In summary:


./bootstrap
make
sudo make install




Notice that there is a slight difference from the command of building other libs/apps as in here we use ./bootstrap instead of a regular ./configure, this is described in official site, but according to my test, ./configure also work here, and has the same effect.

No comments:

Post a Comment