<?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>pc-ble-driver, CMake, absolute paths in the VS files</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20008/pc-ble-driver-cmake-absolute-paths-in-the-vs-files</link><description>The pc-ble-driver project uses CMake to generate Solution and Project files for the Windows build of the project. CMake uses absolute paths in these generated files. I can&amp;#39;t pick this code up and move it anywhere, or it won&amp;#39;t build. 
 cmake.org/.../CMake_FAQ</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Feb 2017 18:17:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20008/pc-ble-driver-cmake-absolute-paths-in-the-vs-files" /><item><title>RE: pc-ble-driver, CMake, absolute paths in the VS files</title><link>https://devzone.nordicsemi.com/thread/77854?ContentTypeID=1</link><pubDate>Tue, 28 Feb 2017 18:17:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:754116fb-665e-48ce-826d-56f4df21af4d</guid><dc:creator>Eliot Stock</dc:creator><description>&lt;p&gt;I tried this and it worked, but given that there are also hard coded paths to CMake in the VS project file, I gave up on making this path-portable in the end. Adding a scripting step to search and replace paths in the VS files seemed like more work than it was worth. Our README just specifies paths for the pc-ble-driver codebase and our central app code that uses it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver, CMake, absolute paths in the VS files</title><link>https://devzone.nordicsemi.com/thread/77853?ContentTypeID=1</link><pubDate>Mon, 27 Feb 2017 12:36:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac0149dd-4fc5-49e1-a83a-73b1e2df8ac0</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t see any reason why changing the paths in the generated Visual Studio project to relative paths would not work. The problem is that this is a manual operation that needs to be done each time the project is generated by CMake.&lt;/p&gt;
&lt;p&gt;Note that I have not tested this myself. If you try it, could you report back if you see any problems? In case any other users is wondering about this as well.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>