Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

Release solution in command line

John_S_9
Beginner
91 Views

So in visual Studio you can set the solution to either Debug or Release. With Release automatically setting certain optimizations. My question is, what are the command options that will achieve (a similar) optimization but in the command line (for both windows and linux)?

 

Thank you

0 Kudos
2 Replies
mecej4
Black Belt
91 Views

The build-log, which is generated after you build a project, contains the command line options. You may use those options in your command window session, or place some of the options in the default configuration file, ifort.cfg.

Steve_Lionel
Black Belt Retired Employee
91 Views

Or just look at the Command Line property page for the Release configuration and you'll see what it uses.  Generally, as far as optimization goes, it is just /O2 which is the default anyway. (This assumes you have not changed the settings for that configuration.)

Reply