<?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>VS Code build configurations in version control</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107217/vs-code-build-configurations-in-version-control</link><description>I&amp;#39;d like my VS Code build configuration for my project to be included in version control. 
 It seems like this configuration is stored somewhere in the &amp;quot;build&amp;quot; directory that is specified when creating the configuration. However, the &amp;quot;build&amp;quot; directory</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Mar 2025 22:05:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107217/vs-code-build-configurations-in-version-control" /><item><title>RE: VS Code build configurations in version control</title><link>https://devzone.nordicsemi.com/thread/528093?ContentTypeID=1</link><pubDate>Wed, 19 Mar 2025 22:05:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c11d327c-c2a5-47e3-ac95-3add06046755</guid><dc:creator>Nick</dc:creator><description>&lt;p&gt;Does this keep the build configuration linked with the CMakePresets.json file so that if the configuration is later updated and the changes are pushed to git, everyone&amp;#39;s configurations will update?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code build configurations in version control</title><link>https://devzone.nordicsemi.com/thread/463623?ContentTypeID=1</link><pubDate>Wed, 10 Jan 2024 17:52:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4ff48af-54f9-4a47-b8e3-889fe7cf64b1</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Hello,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;I have feedback from team.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span dir="ltr"&gt;You should not put the build directory itself in version control, as that will conflict every time anyone tries to build on your own machine. The recommended solution to this problem (at least in the VS Code context) is storing the build configuration as a CMake preset: &lt;a title="https://nrfconnect.github.io/vscode-nrf-connect/guides/build_config.html#how-to-save-a-build-configuration-as-a-preset" href="https://nrfconnect.github.io/vscode-nrf-connect/guides/build_config.html#how-to-save-a-build-configuration-as-a-preset" rel="noopener noreferrer" target="_blank"&gt;https://nrfconnect.github.io/vscode-nrf-connect/guides/build_config.html#how-to-save-a-build-configuration-as-a-preset&lt;/a&gt;&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code build configurations in version control</title><link>https://devzone.nordicsemi.com/thread/463415?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2024 16:45:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4155faee-ae76-4fe8-989d-7c47f047a861</guid><dc:creator>Kyle</dc:creator><description>&lt;p&gt;.vscode is not in the .gitignore file. The .gitignore file looks like so:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# editors
*.swp
*~

# build
/build*/
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And this is the default .gitignore you get when you clone a sample. And in the workspace .vscode directory, all it has is settings.json, which does not have anything to do with the build configuration in it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code build configurations in version control</title><link>https://devzone.nordicsemi.com/thread/463406?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2024 15:52:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a899c7-d330-4d99-a52d-45df3840a10e</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You need to remove the .vscode from the&amp;nbsp;&lt;span&gt;.gitignore file.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BR&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kazi&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>