<?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>Files needed for nRF Connect SDK to detect builds</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114928/files-needed-for-nrf-connect-sdk-to-detect-builds</link><description>Hi, 
 
 What files are needed for nRF Connect SDK to detect a &amp;quot;build&amp;quot;? &amp;quot;build&amp;quot; folders are excluded from the Git repository by default, but I&amp;#39;d like to include the build info (minimal files necessary) in my repository. It looked to me like .vscode-nrf</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 27 Sep 2024 07:35:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114928/files-needed-for-nrf-connect-sdk-to-detect-builds" /><item><title>RE: Files needed for nRF Connect SDK to detect builds</title><link>https://devzone.nordicsemi.com/thread/504095?ContentTypeID=1</link><pubDate>Fri, 27 Sep 2024 07:35:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d116747-aaff-4134-b921-c8e7838afa71</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;You’re right, &lt;code&gt;CMakeCache.txt&lt;/code&gt; contains absolute paths, making it non-portable when the repository is cloned to a different location. This is a common issue with CMake files. Could we add a setup script to the repository that automatically runs the CMake generation step (e.g., &lt;code&gt;cmake ..&lt;/code&gt; from the build directory) using the configuration from &lt;code&gt;.vscode-nrf-connect.json&lt;/code&gt;?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;Kind Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Abhijith&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Files needed for nRF Connect SDK to detect builds</title><link>https://devzone.nordicsemi.com/thread/503706?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2024 09:35:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a02c0305-4f1a-4dda-a7c9-1beffe9fea3d</guid><dc:creator>Dane du Plooy</dc:creator><description>&lt;p&gt;Hi Abhijith&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank-you. The CMakeCache.txt file is not ideal as all the paths are absolute, so won&amp;#39;t port if the repository is cloned. Perhaps something to feed back to the devs, I think the .vscode-nrf-connect.json contains all the info needed to set up a new build.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Files needed for nRF Connect SDK to detect builds</title><link>https://devzone.nordicsemi.com/thread/503585?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2024 12:54:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c944f65c-2b49-4dc4-a6d8-7f910a83eb6e</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The nRF connect SDK&amp;nbsp;relies on CMake-generated files to identify and manage builds.&lt;span style="color:rgba(0, 0, 255, 1);"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;vscode-nrf-connect.json&lt;/span&gt; contains settings related to the build in the context of Visual Studio Code and nRF Connect for VS Code. However, this file alone is not enough without the CMake-generated files.&lt;span style="color:rgba(0, 0, 255, 1);"&gt;&amp;nbsp;CMakeCache.txt&amp;nbsp;contains&lt;/span&gt; all the CMake configuration options and settings for the build. nRF Connect SDK uses it to understand what has been configured and generated for the project.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>