Microsoft C++ を使用して Windows で mpir を自動的にビルドする方法を作成しようとしています。必要なステップの 1 つは vsyasm をインストールすることのようです。そのため、私の現在のミニ プロジェクトは、それを行うための自動化された方法を作成することです。つまり、人間の介入なしにバッチ ファイルまたはプログラムで実行できるものです。
vsyasm の readme では、次の 3 つの方法が提案されています。
a. put these files in the MSBUILD customisation directory,
which is typically at:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations
or:
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations
b. put them in a convenient location and set this path in the
'Build Customisations Search Path' in the Visual Studio
'Projects and Solutions|VC++ Project Settings' item in
the 'Tools|Options' menu;
c. put them in a convenient location and set this path in the
'Build Customisation dialogue (discussed later).
1 つ目は、Windows セキュリティによってブロックされます。手動の介入を必要としない方法はありますか?
2 番目と 3 番目は、手動で直接介入する必要があります。特にIDE内ではなくコマンドラインからプロジェクトをビルドしたい場合、自動化された同等のものはありますか?
私が見逃している他のオプションはありますか?