<?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 Development ToolsのトピックBuild configurations - defining a variable</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Build-configurations-defining-a-variable/m-p/453354#M3301</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Fairly new to CW and have encountered a problem that I am looking for some support on.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a project with 2 build configurations; one I use for release and one for debugging.&lt;/P&gt;&lt;P&gt;I want to be able to set a variable to a particular value for each configuration.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;eg. uc_DebugMode == 1 when running the debug config.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to do this in CW10.6 using a Kinetis product?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to use the defined macros in arm compiler -&amp;gt; input but get the following when compiling:&lt;/P&gt;&lt;P&gt;Specified file 'uc_DebugMode' not found.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Nov 2015 15:46:10 GMT</pubDate>
    <dc:creator>mikemorris</dc:creator>
    <dc:date>2015-11-03T15:46:10Z</dc:date>
    <item>
      <title>Build configurations - defining a variable</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Build-configurations-defining-a-variable/m-p/453354#M3301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Fairly new to CW and have encountered a problem that I am looking for some support on.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a project with 2 build configurations; one I use for release and one for debugging.&lt;/P&gt;&lt;P&gt;I want to be able to set a variable to a particular value for each configuration.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;eg. uc_DebugMode == 1 when running the debug config.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to do this in CW10.6 using a Kinetis product?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to use the defined macros in arm compiler -&amp;gt; input but get the following when compiling:&lt;/P&gt;&lt;P&gt;Specified file 'uc_DebugMode' not found.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 15:46:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Build-configurations-defining-a-variable/m-p/453354#M3301</guid>
      <dc:creator>mikemorris</dc:creator>
      <dc:date>2015-11-03T15:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Build configurations - defining a variable</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Build-configurations-defining-a-variable/m-p/453355#M3302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello mikemorris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each build configuration has its own project settings (menu Project &amp;gt; Properties &amp;gt; C/C++ Build &amp;gt; Settings), so you can change the settings of one configuration and the other will keep the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can define independent macros for each configuration in menu Project &amp;gt; Properties &amp;gt; C/C++ Build &amp;gt; Settings &amp;gt; Compiler &amp;gt; Preprocessor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any question please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Carlos&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>Thu, 05 Nov 2015 20:58:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Build-configurations-defining-a-variable/m-p/453355#M3302</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2015-11-05T20:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Build configurations - defining a variable</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Build-configurations-defining-a-variable/m-p/453356#M3303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. &lt;/P&gt;&lt;P&gt;I couldn't figure out how to do this however I managed to get it working by going to properties -&amp;gt; c/c++ general --&amp;gt; paths and symbols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In here I set a define to a value for each build configuration.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 12:57:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Build-configurations-defining-a-variable/m-p/453356#M3303</guid>
      <dc:creator>mikemorris</dc:creator>
      <dc:date>2015-11-25T12:57:20Z</dc:date>
    </item>
  </channel>
</rss>

