<?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 Hi, in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/MD-flag/m-p/1172680#M294</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Glad to know that your issue is resolved.&lt;/P&gt;&lt;P&gt;Please confirm for us if we can close this thread. You can always open a new thread if you face any issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;</description>
    <pubDate>Tue, 28 Apr 2020 12:12:07 GMT</pubDate>
    <dc:creator>AbhishekD_Intel</dc:creator>
    <dc:date>2020-04-28T12:12:07Z</dc:date>
    <item>
      <title>/MD flag</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/MD-flag/m-p/1172677#M291</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to get a windows build using oneAPI going but the libs I'm trying to include use /MD rather than /MT.&amp;nbsp; Adding the /MD via cmake doesn't show up in the resultant msvc solution.&amp;nbsp; I can add it manually via the additional options box, but this gets wiped every time I regenerate the cmake.&amp;nbsp; Am I missing something?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Scott&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 16:33:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/MD-flag/m-p/1172677#M291</guid>
      <dc:creator>Scott_S_2</dc:creator>
      <dc:date>2020-04-27T16:33:55Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/MD-flag/m-p/1172678#M292</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;With the Visual Studio Generators, a native build system may choose to add its own default runtime library selection flag. So&amp;nbsp;try to set the same value in the visual studio which you want to use.&amp;nbsp;And&amp;nbsp;you&amp;nbsp;also have to specify the same value in CMake.&lt;/P&gt;&lt;P&gt;If your CMake has a different value&amp;nbsp;you can replace it with what you want, but your visual studio and CMake value should be the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 07:47:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/MD-flag/m-p/1172678#M292</guid>
      <dc:creator>AbhishekD_Intel</dc:creator>
      <dc:date>2020-04-28T07:47:00Z</dc:date>
    </item>
    <item>
      <title>I was setting the /MD flag in</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/MD-flag/m-p/1172679#M293</link>
      <description>&lt;P&gt;I was setting the /MD flag in cmake via SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}&amp;nbsp; /MD) but that doesn't set the correct runtime in the resultant visual studio solution.&lt;/P&gt;&lt;P&gt;Using set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$&amp;lt;$&amp;lt;CONFIG:Debug&amp;gt;:Debug&amp;gt;DLL") does set the visual studio solution correctly.&lt;/P&gt;&lt;P&gt;Cheers&lt;BR /&gt;Scott&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 11:07:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/MD-flag/m-p/1172679#M293</guid>
      <dc:creator>Scott_S_2</dc:creator>
      <dc:date>2020-04-28T11:07:05Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/MD-flag/m-p/1172680#M294</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Glad to know that your issue is resolved.&lt;/P&gt;&lt;P&gt;Please confirm for us if we can close this thread. You can always open a new thread if you face any issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 12:12:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/MD-flag/m-p/1172680#M294</guid>
      <dc:creator>AbhishekD_Intel</dc:creator>
      <dc:date>2020-04-28T12:12:07Z</dc:date>
    </item>
    <item>
      <title>you can close the thread now.</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/MD-flag/m-p/1172681#M295</link>
      <description>&lt;P&gt;you can close the thread now.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 12:07:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/MD-flag/m-p/1172681#M295</guid>
      <dc:creator>Scott_S_2</dc:creator>
      <dc:date>2020-04-29T12:07:29Z</dc:date>
    </item>
    <item>
      <title>Hi Scott,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/MD-flag/m-p/1172682#M296</link>
      <description>&lt;P&gt;Hi Scott,&lt;/P&gt;&lt;P&gt;Thank you we are closing the thread.&lt;/P&gt;&lt;P&gt;You can also go through&amp;nbsp;cmake-generator-expressions and can specify MSVC_RUNTIME_LIBRARY values using them for&amp;nbsp;more details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 12:59:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/MD-flag/m-p/1172682#M296</guid>
      <dc:creator>AbhishekD_Intel</dc:creator>
      <dc:date>2020-04-29T12:59:03Z</dc:date>
    </item>
  </channel>
</rss>

