*[[CMake:http://www.cmake.org/]] [#w49469c9]

**Installation [#w0109a3f]

***MinGW [#t16b8c71]

 $ curl -R -L -O http://www.cmake.org/files/v2.8/cmake-2.8.12.2.tar.gz
 $ tar xvf cmake-2.8.12.2.tar.gz
 $ pushd cmake-2.8.12.2
 $ mkdir build
 $ pushd build
 $ cmake .. -G "MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=/mingw
 $ make
 $ make install
 $ popd
 $ popd
cmake の Makefile でインストールした場合は,make uninstall が使えないので,アンインストールする場合は,ビルドしたディレクトリで
 $ sed -e "s/\r$//" install_manifest.txt | sort | uniq | xargs rm
を実行します.