Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29601 Обсуждение

Command Line Build

kyudos
Начинающий
2 722Просмотр.

Is there an easy way to use my vfproj file to produce an equivalent command line build? Do I need to make a Make file? A batch file?

There must be a way to get from the IDE to the command line, surely?

0 баллов
5 Ответы
Steven_L_Intel1
Сотрудник
2 722Просмотр.

Easiest way - do a build of your project. Open the buildlog,htm and copy all the commands shown into a .bat file. I do this all the time. The link step may take a little fiddling.

Visual Studio used to have an option to save a makefile, but they dropped it many years ago.

kyudos
Начинающий
2 722Просмотр.

Thanks Steve, that's handy - but presumably I need to then execute the batch in the context of an Intel Fortran command prompt?

Steven_L_Intel1
Сотрудник
2 722Просмотр.

Right, though you could put in a "call" of ifortvars.bat at the start.

kyudos
Начинающий
2 722Просмотр.

Excellent thanks - once more question, do I need to do anything special for my 64-bit build configurations? Or is that taken care of with the '64-bit' Build Log?

Steven_L_Intel1
Сотрудник
2 722Просмотр.

The only thing would be to establish the environment correctly with the ifortvars.bat command's argument of intel64 vs, ia32. The build commands themselves don't change.

Ответить