LoginSignup
1
0

【Windows】CMake 導入

Last updated at Posted at 2024-03-18

CMake とは

CMake は、コンパイラに依存しないビルド自動化ツール。
実際には、CMake によってコンパイラに依存するビルド手順を生成し、 ビルドの実行はその手順を元に他のツールが行う。

CMake インストール手順

1. 下記 URL にアクセスする

 https://cmake.org/download/

2. Windows 64bit のインストーラをダウンロードする

image.png

3. インストーラを実行し、キャプチャの通りにインストールを進める

image.png
image.png
image.png
image.png
image.png
image.png

CMake 動作確認

パスが通っていることを確認する

以下のコマンドラインを実行する

where cmake
where cmake-gui

次のように表示されればOK
image.png

CMake を実行できることを確認する

以下のコマンドラインを実行する

cmake

次のように表示されればOK
image.png

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0