<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>CodeWarrior for MCUのトピックRe: CodeWarrior 10.6 creating a Release folder within Debug folder and vice versa</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-10-6-creating-a-Release-folder-within-Debug-folder/m-p/475820#M12385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pascal, I have done that, several times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;If you look at the end of my original post, you can see that there are some lines in the makefile that shouldn't be there. If I could get rid of those lines, these extra directories should stop being created.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jan 2016 15:18:36 GMT</pubDate>
    <dc:creator>frankbaird</dc:creator>
    <dc:date>2016-01-11T15:18:36Z</dc:date>
    <item>
      <title>CodeWarrior 10.6 creating a Release folder within Debug folder and vice versa</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-10-6-creating-a-Release-folder-within-Debug-folder/m-p/475817#M12382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Until recently my project used only the Debug target. I decided to get the Release target working as well. Before my project contained a Debug folder and a Release folder, but now my Debug folder also contains a Release folder, and my Release folder contains a Debug folder.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="125389_125389.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120954i8B1156FD3330C4B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="125389_125389.png" alt="125389_125389.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="cw folder confusion.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52533i383F3F61A81A4E37/image-size/large?v=v2&amp;amp;px=999" role="button" title="cw folder confusion.png" alt="cw folder confusion.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am certain the folders Debug/Release and Release/Debug were not there before. I now have 3 new lines Debug/sources.mk (the last 3 lines):&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;# Every subdirectory with source files must be described here&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;SUBDIRS := \&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;Sources \&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;Sources/_Screens \&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;Sources/_Components \&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;Release/Sources \&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;Release/Sources/_Screens \&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt;"&gt;Release/Sources/_Components \&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and in Debug/makefile have these 3 new lines:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;-include Release/Sources/subdir.mk&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;-include Release/Sources/_Screens/subdir.mk&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;-include Release/Sources/_Components/subdir.mk&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Similarly Release/sources.mk contains&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;# Every subdirectory with source files must be described here&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;SUBDIRS := \&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Sources \&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Sources/_Screens \&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Sources/_Components \&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Debug/Sources \&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Debug/Sources/_Screens \&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Debug/Sources/_Components \&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and Release/makefile contains&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;-include Debug/Sources/subdir.mk&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;-include Debug/Sources/_Screens/subdir.mk&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;-include Debug/Sources/_Components/subdir.mk&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It turns out that these "extra" directories contain nothing. They do have folders in them, but every folder contains only a subdir.mk file in them. If they were eliminated entirely, it would not cause any compilation problems.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="125399_125399.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120955iD9710970CD9D934F/image-size/large?v=v2&amp;amp;px=999" role="button" title="125399_125399.png" alt="125399_125399.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="cw folder confusion2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52560iDD96AABDE98A2840/image-size/large?v=v2&amp;amp;px=999" role="button" title="cw folder confusion2.png" alt="cw folder confusion2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please tell me how to get rid of them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 21:52:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-10-6-creating-a-Release-folder-within-Debug-folder/m-p/475817#M12382</guid>
      <dc:creator>frankbaird</dc:creator>
      <dc:date>2016-01-07T21:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior 10.6 creating a Release folder within Debug folder and vice versa</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-10-6-creating-a-Release-folder-within-Debug-folder/m-p/475818#M12383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frank,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hum.&lt;/P&gt;&lt;P&gt;I've created a short example with the wizard but was not able to reproduce the problem on my side.&lt;/P&gt;&lt;P&gt;I recommend you to Clean (all) and re-build the project.&lt;/P&gt;&lt;P&gt;Is it linked to your project ? ... I don't know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Pascal&lt;BR /&gt;NXP Technical Support&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 12:42:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-10-6-creating-a-Release-folder-within-Debug-folder/m-p/475818#M12383</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2016-01-11T12:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior 10.6 creating a Release folder within Debug folder and vice versa</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-10-6-creating-a-Release-folder-within-Debug-folder/m-p/475819#M12384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frank,&lt;/P&gt;&lt;P&gt;the path/folder for this is defined as 'Build Location' here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/33505iA69813F02C6F79B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can you check your settings?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 12:49:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-10-6-creating-a-Release-folder-within-Debug-folder/m-p/475819#M12384</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2016-01-11T12:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior 10.6 creating a Release folder within Debug folder and vice versa</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-10-6-creating-a-Release-folder-within-Debug-folder/m-p/475820#M12385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pascal, I have done that, several times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;If you look at the end of my original post, you can see that there are some lines in the makefile that shouldn't be there. If I could get rid of those lines, these extra directories should stop being created.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 15:18:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-10-6-creating-a-Release-folder-within-Debug-folder/m-p/475820#M12385</guid>
      <dc:creator>frankbaird</dc:creator>
      <dc:date>2016-01-11T15:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior 10.6 creating a Release folder within Debug folder and vice versa</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-10-6-creating-a-Release-folder-within-Debug-folder/m-p/475821#M12386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked those. You can see the Debug target uses the Debug directory and the Release target uses the Release directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6868i318B7CDA248B44C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/34251iD8127D8DF347D69B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've noticed that these "extra" directories have nothing in them except subdir.mk files. They are apparently being created by the Makefiles. So there is something causing the automatic makefile generation to think these folders need to be created. Any idea where this is controlled?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 15:25:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-10-6-creating-a-Release-folder-within-Debug-folder/m-p/475821#M12386</guid>
      <dc:creator>frankbaird</dc:creator>
      <dc:date>2016-01-11T15:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior 10.6 creating a Release folder within Debug folder and vice versa</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-10-6-creating-a-Release-folder-within-Debug-folder/m-p/475822#M12387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could it be that you you somehow compile files from Debug or Release folder?&lt;/P&gt;&lt;P&gt;Other than that, it would be helpful if you could share your project (you might remove source files).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 15:39:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-10-6-creating-a-Release-folder-within-Debug-folder/m-p/475822#M12387</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2016-01-11T15:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior 10.6 creating a Release folder within Debug folder and vice versa</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-10-6-creating-a-Release-folder-within-Debug-folder/m-p/475823#M12388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If that was the case, I would expect these extra folders to have some .o files in them. But all that is there is the .mk files. If you look at the end of my original post, you can see that there are some lines in the makefile that shouldn't be there. If I could get rid of those lines, these extra directories should stop being created.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 15:47:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-10-6-creating-a-Release-folder-within-Debug-folder/m-p/475823#M12388</guid>
      <dc:creator>frankbaird</dc:creator>
      <dc:date>2016-01-11T15:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior 10.6 creating a Release folder within Debug folder and vice versa</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-10-6-creating-a-Release-folder-within-Debug-folder/m-p/475824#M12389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well I finally figured out how to stop this behavior. You may have been saying the same thing as what I found, but I just didn't understand you clearly.&lt;/P&gt;&lt;P&gt;The key to getting rid of the extra directories is to get rid of the extra makefiles. To do this, I need to tell CW to ignore certain files for each build target.&lt;/P&gt;&lt;P&gt;Choose the Release target (go to Project -&amp;gt; Build Configurations -&amp;gt; Set Active -&amp;gt; Release).&lt;/P&gt;&lt;P&gt;In the CodeWarrior Projects tab, choose the Debug folder (the Debug folder one level below the project, not the Debug folder within the Release folder). Then for the Sources directory, and the files makefile, makefile.local, objects.mk, and sources.mk, right-click the folder or file, choose Properties. Then under C/C++ Build -&amp;gt; Settings, uncheck the checkbox “Exclude resource from build.”&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/31954i5B5D6A1AAAB3E68A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then do the same for the Release folder under the Debug target.&lt;/P&gt;&lt;P&gt;Perform a clean build of both targets, and the extra folders should be gone.&lt;/P&gt;&lt;P&gt;Thanks to all who gave me hints at what to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2016 19:13:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-10-6-creating-a-Release-folder-within-Debug-folder/m-p/475824#M12389</guid>
      <dc:creator>frankbaird</dc:creator>
      <dc:date>2016-04-12T19:13:08Z</dc:date>
    </item>
  </channel>
</rss>

