- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Is there a way to tell Visual Studio on the command line which installed Fortran compiler to use? I have a scripted build which needs to use specific compiler versions for different source branches. I have looked into exporting settings in Visual Studio which can be loaded on the command line using /ResetSettings, but Intel Fortran compiler settings do not appear in the export list. Any ideas?
링크가 복사됨
2 응답
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Do this. Call the ifortvars.bat script for the version you want, then use:
devenv /useenv
to invoke Visual Studio. This will use the environment variables already set up rather than what VS would normally use.
devenv /useenv
to invoke Visual Studio. This will use the environment variables already set up rather than what VS would normally use.