2014-09-02 2 views
0

Microsoft C++로 Windows에서 mpir를 빌드하는 자동화 된 방법을 만들고자합니다. 하나의 필수 단계는 vsyasm을 설치하는 것으로 보이므로 내 현재의 미니 프로젝트는 자동화 된 방법, 즉 사람이 개입하지 않고 배치 파일이나 프로그램으로 수행 할 수있는 무언가를 만드는 것입니다.vsyasm을 자동 설치하는 방법

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). 

첫 번째는 Windows 보안에 의해 차단 :

vsyasm의 추가 정보는 세 가지 방법을 제안합니다. 수동 개입을 필요로하지 않는 방법이 있습니까?

둘째 및 셋째 직접 수동 조작이 필요합니다. 자동화 된 동등 물이 있습니까? 특히 IDE에서가 아니라 명령 줄에서 프로젝트를 빌드하려는 경우가 있습니까?

다른 옵션이 있습니까?

답변

1

내가 알 수있는 한, 반복적으로 vsyasm을 설치할 수있는 방법은 없습니다. 그러나 명령 행 컴파일러로 mpir를 만드는 반복적 인 방법이 있습니다. Visual Studio 통합에 대해 잊어 버리고 평범한 yasm을 다운로드 한 다음 간단히 yasm.exe으로 이름을 바꾸고 경로의 어느 곳에 넣으십시오. , vcvarsx86_amd64.bat

cd \mpir-2.6.0\win 
configure.bat 
make.bat 
을 실행하십시오.
관련 문제