1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Appveyor で CMake を使用して MinGW の makefile を作成する際の注意点について

Posted at

CMake で -G "MinGW Makefiles" の引数を設定して
makefile を作成しようとすると、
Git のパスに存在する sh.exe を実行してしまうので
以下のように環境変数を削除後、MinGW へのパスを通す必要がある。

set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
set PATH="C:\MinGW\bin"

参考
CMake building for MinGW issue with Git sh.exe
http://help.appveyor.com/discussions/problems/3193-cmake-building-for-mingw-issue-with-git-shexe

1
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?