- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have several Fortran projects in a solution (and more to come) and all of them need to include the same additional directory.
I can add this directory by hand in each project. But if I want to change the path of this directory, I have to change all projects.
Is there anyway to do this by a property file?
In normal Visual Studio C projects I use a .props file or the Directory.Build.props file. But I was not able to do that in fortran projects.
I would like to add this property
<Tool Name="VFFortranCompilerTool" (........) AdditionalIncludeDirectories="..\includes_v1" (......) />
Any idea?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There isn't a way to do it for a solution, as Intel Fortran doesn't currently use the new "property pages" feature of MSVC. You can establish this for all Fortran projects using Tools > Options > Intel Compilers and Tools > Visual Fortran > Compilers. Click on the ... button to the right of Includes to add your path. Note that you have to do this separately for Win32 and x64.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, they are specific to the user. Your use of ifort.cfg is a good approach.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page