<?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>LPCXpresso IDE中的主题 Re: Re-compile a file eachRe-compile file even when not changed</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Re-compile-a-file-eachRe-compile-file-even-when-not-changed/m-p/532579#M3151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vtw.433e on Fri Mar 18 08:26:38 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpressop contains a Windows version of touch. So, just use&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;touch filename.c&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:22:23 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:22:23Z</dc:date>
    <item>
      <title>Re-compile a file eachRe-compile file even when not changed</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Re-compile-a-file-eachRe-compile-file-even-when-not-changed/m-p/532575#M3147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by dtesystems on Fri Mar 18 05:02:29 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using 2 source files (date_time.c/date_time.h) in which a genereate the last re-compilation date and time of my project. This recompile date is then available for the microcontroller for further use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem now is that this file doesn't re-compile as long as it's content isn't changed are a clean build is executed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to mark these files so they will re-compile on each build or some compiler directive I can use?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:22:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Re-compile-a-file-eachRe-compile-file-even-when-not-changed/m-p/532575#M3147</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Re-compile a file eachRe-compile file even when not changed</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Re-compile-a-file-eachRe-compile-file-even-when-not-changed/m-p/532576#M3148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by miccio on Fri Mar 18 05:14:26 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hey Tom,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had a similar requirement some time ago, which I solved by adding the following to Project Properties -&amp;gt; C/C++ Build -&amp;gt; Settings -&amp;gt; Build Steps -&amp;gt; Pre-build steps command:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
touch ../date_time.c; touch ../date_time.h
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Citing Wikipedia, touch is a standard Unix command-line interface program which is used to update the access date and / or modification date of a file or directory. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In its default usage, it is the equivalent of creating or opening a file and saving it without any change to the file contents. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, mind that this only works on Linux. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Some POSIX-like environment like Cygwin or MinGW may offer such command, or there may be a similar built-in one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:22:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Re-compile-a-file-eachRe-compile-file-even-when-not-changed/m-p/532576#M3148</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Re-compile a file eachRe-compile file even when not changed</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Re-compile-a-file-eachRe-compile-file-even-when-not-changed/m-p/532577#M3149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by dtesystems on Fri Mar 18 07:56:29 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Miccio,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's a step in the good direction. I'm going to look for the Windows equivalent of touch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:22:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Re-compile-a-file-eachRe-compile-file-even-when-not-changed/m-p/532577#M3149</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Re-compile a file eachRe-compile file even when not changed</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Re-compile-a-file-eachRe-compile-file-even-when-not-changed/m-p/532578#M3150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by miccio on Fri Mar 18 08:22:06 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;according to &lt;/SPAN&gt;&lt;A href="http://http://superuser.com/questions/10426/windows-equivalent-of-the-linux-command-touch/764716" rel="nofollow noopener noreferrer" target="_blank"&gt;this&lt;/A&gt;&lt;SPAN&gt;, the way to go seems to be&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
copy /b filename +,,
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope it helps&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:22:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Re-compile-a-file-eachRe-compile-file-even-when-not-changed/m-p/532578#M3150</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Re-compile a file eachRe-compile file even when not changed</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Re-compile-a-file-eachRe-compile-file-even-when-not-changed/m-p/532579#M3151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vtw.433e on Fri Mar 18 08:26:38 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpressop contains a Windows version of touch. So, just use&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;touch filename.c&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:22:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Re-compile-a-file-eachRe-compile-file-even-when-not-changed/m-p/532579#M3151</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Re-compile a file eachRe-compile file even when not changed</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Re-compile-a-file-eachRe-compile-file-even-when-not-changed/m-p/532580#M3152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bump&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 01:05:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Re-compile-a-file-eachRe-compile-file-even-when-not-changed/m-p/532580#M3152</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-19T01:05:43Z</dc:date>
    </item>
  </channel>
</rss>

