サイトマップ 連絡先 最初に戻る 戻る 次へ進む
$Date: 2018-07-07 06:49:13 +0900 (2018/07/07 (土)) $
$Revision: 1347 $

cmake のコンパイル方法

cmake のコンパイル方法 (Windows の場合)

Windows でコンパイルする場合、cmake のバイナリがインストールされている必要があります。
CMAKE_INSTALL_PREFIX でインストール先を指定します。
> git clone https://gitlab.kitware.com/cmake/cmake.git
> mkdir build2017
> cd    build2017
> cmake -G "Visual Studio 15 2017" -D CMAKE_INSTALL_PREFIX=c:\cmake ../cmake
> cmake --build . --config Debug
> cmake --build . --config Release

cmake のコンパイル方法 (Mac, Linux の場合)

https://cmake.org/install/ を見てください