<?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>Embedded Software and Tools Clinic中的主题 How to executing a windows batch file as pre build step command in eclipse</title>
    <link>https://community.nxp.com/t5/Embedded-Software-and-Tools/How-to-executing-a-windows-batch-file-as-pre-build-step-command/m-p/1178721#M145</link>
    <description>&lt;P&gt;Hi every one!&lt;/P&gt;&lt;P&gt;I need to include the git details (Git commit Hash, Date and time) in my source code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have heard that it is possible to execute a windows batch file as a&amp;nbsp; pre build command in eclipse IDE. however, I am not so sure how to make the eclipse doing that. what would be the pre build command ?&lt;/P&gt;&lt;P&gt;basically, every time we build the software, the batch file must be executed and create a c header file in the project and write the git info into it. then software can access this hear file.&lt;/P&gt;&lt;P&gt;Has anyone here done this before or has done the job in a different way.&lt;/P&gt;&lt;P&gt;Note that I am working in a windows environment. (eclipse IDE runs on windows 10)&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Nov 2020 10:34:38 GMT</pubDate>
    <dc:creator>_ZZ_</dc:creator>
    <dc:date>2020-11-05T10:34:38Z</dc:date>
    <item>
      <title>How to executing a windows batch file as pre build step command in eclipse</title>
      <link>https://community.nxp.com/t5/Embedded-Software-and-Tools/How-to-executing-a-windows-batch-file-as-pre-build-step-command/m-p/1178721#M145</link>
      <description>&lt;P&gt;Hi every one!&lt;/P&gt;&lt;P&gt;I need to include the git details (Git commit Hash, Date and time) in my source code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have heard that it is possible to execute a windows batch file as a&amp;nbsp; pre build command in eclipse IDE. however, I am not so sure how to make the eclipse doing that. what would be the pre build command ?&lt;/P&gt;&lt;P&gt;basically, every time we build the software, the batch file must be executed and create a c header file in the project and write the git info into it. then software can access this hear file.&lt;/P&gt;&lt;P&gt;Has anyone here done this before or has done the job in a different way.&lt;/P&gt;&lt;P&gt;Note that I am working in a windows environment. (eclipse IDE runs on windows 10)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 10:34:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Embedded-Software-and-Tools/How-to-executing-a-windows-batch-file-as-pre-build-step-command/m-p/1178721#M145</guid>
      <dc:creator>_ZZ_</dc:creator>
      <dc:date>2020-11-05T10:34:38Z</dc:date>
    </item>
  </channel>
</rss>

