<?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>topic Re: Configuration files in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Configuration-files/m-p/200659#M7541</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; When you perform a Project Clean, Eclipse will delete the whole build directory.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; So only files that are re-created by a Project Build should be stored in there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you need to keep the .bmp file after a Clean Project you need to store them in a folder outside of the build directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can for example create a directory bmp_files and add one sub-directory for each build configuration you are using.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Then store the .bmp files in the appropriate sub directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If the directory bmp_files is located in the project directory tree, make sure to exclude the folders holding .bmp for other&lt;/P&gt;&lt;P&gt;&amp;nbsp; configurations from a particular &amp;nbsp;build config.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; This is quite easy. To remove a folder from a build configuration:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- Inside of the CodeWarrior Project view, click right on&amp;nbsp;the folder name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - In the drop down menu select &lt;STRONG&gt;&lt;EM&gt;Properties&lt;/EM&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- Activate the &lt;EM&gt;&lt;STRONG&gt;C/C++ Build&lt;/STRONG&gt;&lt;/EM&gt; page&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Check &lt;STRONG&gt;Exclude resource from build&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jan 2012 14:57:46 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2012-01-26T14:57:46Z</dc:date>
    <item>
      <title>Configuration files</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Configuration-files/m-p/200658#M7540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Codewarrior 10.1 for Kinetis&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to have a number of different configurations for each project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each configuration will have a number of configuration-specfic #include files.&amp;nbsp; Some of these files will be generated by pre-build scripts from e.g. .BMP files.&amp;nbsp; If I put these .BMP files in the configuration folder, and start a Clean/Build, the files are destroyed and the script fails.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found this process easy to do with IAR, but I am struggling to find settings, processes etc that allow this to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone please point out the obvious!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 21:57:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Configuration-files/m-p/200658#M7540</guid>
      <dc:creator>leccy</dc:creator>
      <dc:date>2012-01-25T21:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Configuration files</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Configuration-files/m-p/200659#M7541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; When you perform a Project Clean, Eclipse will delete the whole build directory.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; So only files that are re-created by a Project Build should be stored in there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you need to keep the .bmp file after a Clean Project you need to store them in a folder outside of the build directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp; You can for example create a directory bmp_files and add one sub-directory for each build configuration you are using.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Then store the .bmp files in the appropriate sub directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If the directory bmp_files is located in the project directory tree, make sure to exclude the folders holding .bmp for other&lt;/P&gt;&lt;P&gt;&amp;nbsp; configurations from a particular &amp;nbsp;build config.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; This is quite easy. To remove a folder from a build configuration:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- Inside of the CodeWarrior Project view, click right on&amp;nbsp;the folder name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - In the drop down menu select &lt;STRONG&gt;&lt;EM&gt;Properties&lt;/EM&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- Activate the &lt;EM&gt;&lt;STRONG&gt;C/C++ Build&lt;/STRONG&gt;&lt;/EM&gt; page&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Check &lt;STRONG&gt;Exclude resource from build&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 14:57:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Configuration-files/m-p/200659#M7541</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2012-01-26T14:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Configuration files</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Configuration-files/m-p/200660#M7542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is working fine now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2012 20:34:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Configuration-files/m-p/200660#M7542</guid>
      <dc:creator>leccy</dc:creator>
      <dc:date>2012-01-27T20:34:21Z</dc:date>
    </item>
  </channel>
</rss>

