Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Command Line Build

kyudos
Beginner
1,229 Views

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 Kudos
5 Replies
Steven_L_Intel1
Employee
1,229 Views

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.

0 Kudos
kyudos
Beginner
1,229 Views

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

0 Kudos
Steven_L_Intel1
Employee
1,229 Views

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

0 Kudos
kyudos
Beginner
1,229 Views

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?

0 Kudos
Steven_L_Intel1
Employee
1,229 Views

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.

0 Kudos
Reply