<?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 Macro Values in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Macro-Values/m-p/1048604#M114643</link>
    <description>&lt;P&gt;How can I find the values for macro names in my Visual Studio 10 project that contains only Fortran code?&amp;nbsp; My C++ projects provide a way to view the values for all macros from the Properties window.&amp;nbsp; For example, it will show the value for $(TargetDir).&amp;nbsp; How do I find out the values for Macros in my Fortran VS10 project?&lt;/P&gt;

&lt;P&gt;We are using Windows 7, Visual Studio 10, and Intel Parallel Studio XE 2015 Composer Edition for Fortran Windows.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Nov 2015 22:16:47 GMT</pubDate>
    <dc:creator>Kathy_S_</dc:creator>
    <dc:date>2015-11-04T22:16:47Z</dc:date>
    <item>
      <title>Macro Values</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Macro-Values/m-p/1048604#M114643</link>
      <description>&lt;P&gt;How can I find the values for macro names in my Visual Studio 10 project that contains only Fortran code?&amp;nbsp; My C++ projects provide a way to view the values for all macros from the Properties window.&amp;nbsp; For example, it will show the value for $(TargetDir).&amp;nbsp; How do I find out the values for Macros in my Fortran VS10 project?&lt;/P&gt;

&lt;P&gt;We are using Windows 7, Visual Studio 10, and Intel Parallel Studio XE 2015 Composer Edition for Fortran Windows.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 22:16:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Macro-Values/m-p/1048604#M114643</guid>
      <dc:creator>Kathy_S_</dc:creator>
      <dc:date>2015-11-04T22:16:47Z</dc:date>
    </item>
    <item>
      <title>C++ uses a very different</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Macro-Values/m-p/1048605#M114644</link>
      <description>&lt;P&gt;C++ uses a very different project system than Intel Fortran does (this may change in the future.) There isn't a single place for this, but all of these values are derived from project settings. $(TargetDir), for example, comes from General &amp;gt; Output Directory.&lt;/P&gt;

&lt;P&gt;What problem are you trying to solve?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2015 01:42:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Macro-Values/m-p/1048605#M114644</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2015-11-05T01:42:22Z</dc:date>
    </item>
    <item>
      <title>Hello Steve,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Macro-Values/m-p/1048606#M114645</link>
      <description>&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;Hello Steve,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt;"&gt;Thanks for responding, this was more of a general question than anything else.&amp;nbsp; I recently resolved an issue with a multi-project solution and had difficulties discerning values for macro variables.&amp;nbsp; It took more time than expected, as these values were unclear.&amp;nbsp; Isn’t there any way to look at the values of all macro variables for an Intel Fortran application in VS10? &lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 16:27:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Macro-Values/m-p/1048606#M114645</guid>
      <dc:creator>Kathy_S_</dc:creator>
      <dc:date>2015-11-13T16:27:29Z</dc:date>
    </item>
    <item>
      <title>Quote:Kathy S. wrote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Macro-Values/m-p/1048607#M114646</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Kathy S. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;.. this was more of a general question than anything else.&amp;nbsp; I recently resolved an issue with a multi-project solution and had difficulties discerning values for macro variables.&amp;nbsp; It took more time than expected, as these values were unclear.&amp;nbsp; Isn’t there any way to look at the values of all macro variables for an Intel Fortran application in VS10?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;@Kathy,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Someone from Intel can correct me if I'm wrong, but as far as I can tell, the integration of Intel Fortran with Visual Studio (VS) does not in any way change, delete, or add to the build command and property macros that Microsoft provides for a particular VS version. &amp;nbsp;You would know to look up the macros that come with your VS version either in Help or using another project such as C++ or online at MSDN (see the the link below):&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://msdn.microsoft.com/en-us/library/c02as0cs(v=vs.100).aspx" target="_blank"&gt;https://msdn.microsoft.com/en-us/library/c02as0cs(v=vs.100).aspx&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I have not had any problems with using any of Microsoft-provided VS macros in any of my Intel Fortran projects, &amp;nbsp;Note Microsoft itself can change some of the macros in a newer VS version compared to an older one and you have to sort out the differences in your projects either by yourself or with any of the conversion utilities from Microsoft, 3rd party, etc. &amp;nbsp;But that is independent of Intel Fortran,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 21:13:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Macro-Values/m-p/1048607#M114646</guid>
      <dc:creator>FortranFan</dc:creator>
      <dc:date>2015-11-13T21:13:19Z</dc:date>
    </item>
    <item>
      <title>I don't think the above</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Macro-Values/m-p/1048608#M114647</link>
      <description>&lt;P&gt;I don't think the above replies answered the original question.&amp;nbsp; I am still confused about the value of visual fortran build macros.&amp;nbsp; The link here lists the macros:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/fortran-compiler-developer-guide-and-reference/top/compiler-setup/using-microsoft-visual-studio-windows/supported-build-macros.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/develop/documentation/fortran-compiler-developer-guide-and-reference/top/compiler-setup/using-microsoft-visual-studio-windows/supported-build-macros.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If the project is C/C++, there is a "Macros" button under project "Properties"-&amp;gt;"Configuration Properties"-&amp;gt;"General"-&amp;gt;click on "Output Directory" value-&amp;gt;"Edit".&amp;nbsp; Pressing the button will list all macros and their values.&lt;/P&gt;&lt;P&gt;But if the project is Visual Fortran, the "Macros" button is missing. How can I see the values of these macros? They are project specific. For example, $(ProjectDir) seems to be the directory where the source code (xxx.F) is. For a multi-project solution inherited from someone else, it is very helpful to know these macros value to maintain the code.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2020 20:02:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Macro-Values/m-p/1048608#M114647</guid>
      <dc:creator>Zhao__Wiley</dc:creator>
      <dc:date>2020-06-05T20:02:55Z</dc:date>
    </item>
  </channel>
</rss>

