Welcome to Intel® Software Network Quick Login | Join | Help |
Search in Intel® Software Network Forums
in Go

exporting project properties

Last post 05-19-2008, 3:29 PM by snuchia@statsoft.com. 6 replies.
Sort Posts: Previous Next
 04-17-2008, 3:29 PM 30253027  

exporting project properties

Is there a way to list (export) the Visual Studio options (including complier, linker, etc.) for my Intel Visual Fortran project?

I've done some searching and most likely due to a bad choice of key words can't find info.  This probably isn't the right place to ask so my apologizes but a point in the right direction would be appreciated.

Thanks!
 
 04-17-2008, 4:43 PM 30253032 in reply to 30253027  

Re: exporting project properties

It's a fine place to ask.

It depends on what you want to do with the options. If you want to record them for reference, go to the Command Line property page for Fortran and Linker and copy the options shown.  If you want to apply these settings to a new project, well, that's harder.  The .vfproj file contains the settings but it's not something you can "apply" to another project.

Steve

Doctor Fortran: intel.com/software/drfortran
 
 04-18-2008, 3:46 AM 30253051 in reply to 30253032  

Re: exporting project properties

Thanks Steve.  That helps.  In this case it is for communication/reference with someone overseas so command lines will do nicely.
 
 05-14-2008, 7:55 AM 30254813 in reply to 30253032  

Re: exporting project properties

Hi,

You say it's harder to apply the current settings to a new project.
In our current  environment in CVF we had to make quite some changes in the properties to make it all work.
It looks this will not be very different in IVF.
We are starting to convert about 50 projects from CVF to IVF so it would be a great help if there is a way.
Is there?

Regards,
Wilco de Vries.

 
 05-14-2008, 8:18 AM 30254816 in reply to 30254813  

Re: exporting project properties

Here's a way.  Create a "blank solution" in Visual Studio and add all your project .vfproj files.  Hold down the shift key and select all of the projects in the solution, then right click on one and select Properties.  Any property you change here will be applied to all selected projects.

I'd be curious to know what sort of changes you feel you have to make.

I will note that when you do the "Extract Compaq Visual Fortran Project Items" tool, it applies some different defaults to more closely match CVF, including changing calling convention and argument passing settings. I'd recommend setting those back to default unless you know you need the CVF conventions.


Steve

Doctor Fortran: intel.com/software/drfortran
 
 05-14-2008, 8:20 AM 30254817 in reply to 30254813  

Re: exporting project properties

I didn't find it. if it exists  Steve's answer above is probably the best you'll get.

My problem is easier, only 1 project not 50.  Plus all within IVF. 

For communication with coworker, I just copied the command lines and emailed.  To build a new version while leaving the old alone, I copied the old folder (high level so I got everything - source files plus all others are within it - other schemes could easily be simpler) and made changes within the project as needed.  Changes tend to be minimal so doing it by hand is straight forward.

My limited requirements haven't required me to spend more time on the issue but I would be very interested if you find a better/easier solution. 
 
 05-19-2008, 3:29 PM 30255081 in reply to 30254816  

Re: exporting project properties

As an alternative to creating a blank solution you can create a "solution folder" to gather all the IVF projects together and make bulk editing their property sheets a little easier.  Solution folders look like folder nodes in the tree view but have no significance outside of that view.  They have some handy context menu items associated with them and that's about it.

Be aware that the IVF property sheet mechanism (at least in 10.1.019) is very clunky.  With 25 projects and Debug+Release and Win32+x64 all selected it takes many seconds to modify a setting.  Also, I have to restart studio frequently while working on FORTRAN settings because it will just decide I can't edit them any more or the display goes quietly insane.  It occasionally stops allowing some changes for other project types as well.  If it pops up an error telling you that the value you're trying to set is not allowed just save your work and restart.

It would be very nice if we could get support for .vsprops inheritance.  My 200 C++ projects are easier to manage than my 25 fortran projects.

 

 
View as RSS news feed in XML

Shortcuts


Tags For This Post

...

Community Tags

...