<?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 How to include build numbers into build? in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-include-build-numbers-into-build/m-p/144096#M1617</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm working with CodeWarrior 8.0 for 56800E and want to include a build number into my software. Is it possible to set up CodeWarrior to increment a number and include it into the software?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Feb 2007 00:45:23 GMT</pubDate>
    <dc:creator>Albitz</dc:creator>
    <dc:date>2007-02-01T00:45:23Z</dc:date>
    <item>
      <title>How to include build numbers into build?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-include-build-numbers-into-build/m-p/144096#M1617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm working with CodeWarrior 8.0 for 56800E and want to include a build number into my software. Is it possible to set up CodeWarrior to increment a number and include it into the software?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 00:45:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-include-build-numbers-into-build/m-p/144096#M1617</guid>
      <dc:creator>Albitz</dc:creator>
      <dc:date>2007-02-01T00:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to include build numbers into build?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-include-build-numbers-into-build/m-p/144097#M1618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;There is no formal way to get CodeWarrior generate a version number when building code.&lt;/DIV&gt;&lt;DIV&gt;If you want to get a version number stored in the image you can define a constant string variable, where you store a version number.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Each time you start working on a new version of the program you have to increment the version number manually.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Make sure to specify your version constant in a FORCE_ACTIVE command in the application linker command file. This will ensure the constant is linked to the application even though it is not used.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Alternatively you can decide to initialize your constant string with the predefined macro __DATE__.&lt;/DIV&gt;&lt;DIV&gt;This way the compiler will initialize the constant with the build date.&lt;/DIV&gt;&lt;DIV&gt;You version number will then be the build date.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I hope this helps.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2007 20:03:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/How-to-include-build-numbers-into-build/m-p/144097#M1618</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-02-01T20:03:50Z</dc:date>
    </item>
  </channel>
</rss>

