<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>C++ compilation in nRF5340 Audio DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95610/c-compilation-in-nrf5340-audio-dk</link><description>Hello, I am looking to integrate a c++ library into the nRF5340 Audio DK build. I am trying to ensure the compiler applies all the CMake flags it is using for the c compilation on the c++ library as well (for ex: set(CMAKE_CXX_FLAGS &amp;quot;-mcpu=cortex-m33</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Jan 2023 14:58:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95610/c-compilation-in-nrf5340-audio-dk" /><item><title>RE: C++ compilation in nRF5340 Audio DK</title><link>https://devzone.nordicsemi.com/thread/404604?ContentTypeID=1</link><pubDate>Thu, 12 Jan 2023 14:58:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92a1dec7-0ef4-45d4-b169-4612ee3a3e2b</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;In order to use C++ in your application you would need to add&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_CPLUSPLUS"&gt;CONFIG_CPLUSPLUS&lt;/a&gt;&amp;nbsp;option to your application&amp;#39;s configuration file. You can read more about&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/develop/languages/cpp/index.html#c-language-support"&gt;C++ Language support&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/develop/languages/cpp/index.html#enabling-c-support"&gt;how to enable C++ support&lt;/a&gt; in the documentation.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>