<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Additional Include Directories for the whole solution in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Additional-Include-Directories-for-the-whole-solution/m-p/1150264#M139855</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have several Fortran projects in a solution (and more to come) and all of them need to include the same additional directory.&lt;/P&gt;

&lt;P&gt;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.&lt;/P&gt;

&lt;P&gt;Is there anyway to do this by a property file?&lt;/P&gt;

&lt;P&gt;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.&lt;/P&gt;

&lt;P&gt;I would like to add this property&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;lt;Tool Name="VFFortranCompilerTool"&amp;nbsp; (........)&amp;nbsp; AdditionalIncludeDirectories="..\includes_v1"&amp;nbsp; &amp;nbsp;(......) /&amp;gt;&lt;/P&gt;

&lt;P&gt;Any idea?&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jul 2018 08:36:26 GMT</pubDate>
    <dc:creator>Hermida__Francisco</dc:creator>
    <dc:date>2018-07-03T08:36:26Z</dc:date>
    <item>
      <title>Additional Include Directories for the whole solution</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Additional-Include-Directories-for-the-whole-solution/m-p/1150264#M139855</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have several Fortran projects in a solution (and more to come) and all of them need to include the same additional directory.&lt;/P&gt;

&lt;P&gt;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.&lt;/P&gt;

&lt;P&gt;Is there anyway to do this by a property file?&lt;/P&gt;

&lt;P&gt;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.&lt;/P&gt;

&lt;P&gt;I would like to add this property&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;lt;Tool Name="VFFortranCompilerTool"&amp;nbsp; (........)&amp;nbsp; AdditionalIncludeDirectories="..\includes_v1"&amp;nbsp; &amp;nbsp;(......) /&amp;gt;&lt;/P&gt;

&lt;P&gt;Any idea?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 08:36:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Additional-Include-Directories-for-the-whole-solution/m-p/1150264#M139855</guid>
      <dc:creator>Hermida__Francisco</dc:creator>
      <dc:date>2018-07-03T08:36:26Z</dc:date>
    </item>
    <item>
      <title>There isn't a way to do it</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Additional-Include-Directories-for-the-whole-solution/m-p/1150265#M139856</link>
      <description>&lt;P&gt;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 &amp;gt; Options &amp;gt; Intel Compilers and Tools &amp;gt; Visual Fortran &amp;gt; 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.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 20:41:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Additional-Include-Directories-for-the-whole-solution/m-p/1150265#M139856</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2018-07-03T20:41:32Z</dc:date>
    </item>
    <item>
      <title>Thank you for the answer,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Additional-Include-Directories-for-the-whole-solution/m-p/1150266#M139857</link>
      <description>Thank you for the answer, Steve
Have those options to be defined for each user (developer) in VisualStudio?

As a workaround I have modified ifort.cfg to add the paths, so every user developing in the same machine can use it.</description>
      <pubDate>Tue, 03 Jul 2018 22:41:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Additional-Include-Directories-for-the-whole-solution/m-p/1150266#M139857</guid>
      <dc:creator>Hermida__Francisco</dc:creator>
      <dc:date>2018-07-03T22:41:30Z</dc:date>
    </item>
    <item>
      <title>Yes, they are specific to the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Additional-Include-Directories-for-the-whole-solution/m-p/1150267#M139858</link>
      <description>&lt;P&gt;Yes, they are specific to the user. Your use of ifort.cfg is a good approach.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 23:10:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Additional-Include-Directories-for-the-whole-solution/m-p/1150267#M139858</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2018-07-03T23:10:48Z</dc:date>
    </item>
  </channel>
</rss>

