LoginSignup
0
0

More than 3 years have passed since last update.

CMakeの使い方メモ~コマンドのみ~

Posted at
  1. まず、プロジェクトのフォルダを作成
  2. そこに、CMakeLists.txtっていうファイルを作成

  3. 下記でbuildディレクトリを作成し、buildディレクトリに移動

mkdir build
cd build

下記でReleaseモードでConfigure&Generate

cmake .. -DCMAKE_BUILD_TYPE=Release

最後にbuild

cmake --build
0
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
0
0