<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Copy res folder without shortcut]]></title><description><![CDATA[<p dir="auto">Is there any way to set Visual Studio to copy the whole res folder to the /bin/release/plugins/xxx folder instead of using a shortcut? When copying the plugin to the cinema plugin folder the res folder is empty...you have to go back to the res folder (which seems to be a shortcut to itself?) and manually copy the contents into the res folder in the cinema plugin folder.</p>
]]></description><link>http://developers.maxon.net/forum/topic/16416/copy-res-folder-without-shortcut</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 22:11:53 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/16416.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 05 Jun 2026 14:13:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Copy res folder without shortcut on Mon, 08 Jun 2026 12:56:23 GMT]]></title><description><![CDATA[<p dir="auto">That is of course also a valid option, just pick the scripting language you are most comfortable with.</p>
]]></description><link>http://developers.maxon.net/forum/post/77186</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/77186</guid><dc:creator><![CDATA[ferdinand]]></dc:creator><pubDate>Mon, 08 Jun 2026 12:56:23 GMT</pubDate></item><item><title><![CDATA[Reply to Copy res folder without shortcut on Mon, 08 Jun 2026 12:50:11 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Ferdinand. I actually made a powershell script that did essentially the same thing as #2. Deletes the current version in the c4d plugins folder, copies the newest Build and copies in the res folder.</p>
]]></description><link>http://developers.maxon.net/forum/post/77184</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/77184</guid><dc:creator><![CDATA[atg]]></dc:creator><pubDate>Mon, 08 Jun 2026 12:50:11 GMT</pubDate></item><item><title><![CDATA[Reply to Copy res folder without shortcut on Mon, 08 Jun 2026 11:41:15 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/atg">@<bdi>atg</bdi></a>,</p>
<p dir="auto">It is not Visual Studio which is doing this, but our CMake meta build system. And it is intentionally done like this, as the build folders should only contain build output. To change this, you would have to modify <code>cmake\sdk_targets.cmake:817ff</code> and/or <code>MaxonTargets_CreateDirectoryLink</code> in the same file. But that is rather impractical, as you would have to patch these files with each version of the SDK you use.</p>
<p dir="auto">You have two options:</p>
<ol>
<li>Use the builtin <code>install</code> feature of CMake. The SDK does not have a pre-made <code>install</code> configuration, as I personally dislike the feature and it would also be difficult to generically setup for SDK projects due to the freedom we give projects in where to place dependencies such as dynamic libraries. But you can easily add an <code>install</code> configuration to your own project, which will copy the plugin to a folder of your choice when you run <code>cmake --install</code>. You can even set up a post-build event in Visual Studio to automatically run this command after each build.</li>
<li>I personally would just go for a Python script which you can run from a <code>my_build_system/plugins</code> folder and which will copy all folders in it to some target folder of yours and also resolves symbolic links (and possibly filters out some files if you want).</li>
</ol>
<p dir="auto">Option two would cost me 30 minutes to set up or so, option one would be much more work for at least me (which is why I dislike the <code>install</code> feature), but it would be more integrated into CMake. I would personally just go for option two, as it is more flexible and easier to set up.</p>
<p dir="auto">Cheers,<br />
Ferdinand</p>
]]></description><link>http://developers.maxon.net/forum/post/77180</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/77180</guid><dc:creator><![CDATA[ferdinand]]></dc:creator><pubDate>Mon, 08 Jun 2026 11:41:15 GMT</pubDate></item></channel></rss>