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

edit command line options in project property pages

salbruce
Beginner
552 Views
In CVF I could make settings in a new project match an existing project by copying/pasting the command line from the old to new property pages. So, for example, I could copy/paste something like:

/nologo /I"Release/" /DNICHERR=0 /vms /Qsave /fp:source /fpconstant /iface:cvf /module:"Release\" /object:"Release\" /libs:dll /threads /c

and Visual Studio would set the properties accordingly. (Please ignore that many of those options weren't in CVF.)

But in IVF the command line does not seem to be editable, so I can't paste into it or edit it. Is it not possible to edit the command line in the property page dialog? If not, what's the easiest way to transfer some or all settings from one project to another? I must be overlooking something obvious... Thanks in advance for your help.
0 Kudos
1 Solution
Steven_L_Intel1
Employee
552 Views
Open the .vfproj file of the old and new project. This is an XML file with a section listing each configuration. Within each, there is a ) from the old project, replacing the similar line in the new. Save and exit.

This is not a supported method, but it should work fine as long as both .vfproj files are at the same version (look for Version="xx.x" in the second line.)

View solution in original post

0 Kudos
2 Replies
Steven_L_Intel1
Employee
553 Views
Open the .vfproj file of the old and new project. This is an XML file with a section listing each configuration. Within each, there is a ) from the old project, replacing the similar line in the new. Save and exit.

This is not a supported method, but it should work fine as long as both .vfproj files are at the same version (look for Version="xx.x" in the second line.)
0 Kudos
salbruce
Beginner
552 Views
That worked. Great trick!
Thanks.
0 Kudos
Reply