<?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>S32 Design StudioのトピックRe: Create Makefile via CMake in S32 Design Studio?</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Create-Makefile-via-CMake-in-S32-Design-Studio/m-p/1167588#M6892</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;S32DS generates new Makefile for each build. In my opinion - the best way is just write your own Makefile for your code - you don't need to use S32DS. You can use GNU tools which comes with S32DS in your makefile. Cmake is not supported by S32DS.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure about your goal - but you can also import your C++ code into S32DS (copy sources into project space), add Include paths, library archives&amp;nbsp; and just build your project inside IDE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jiri&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Oct 2020 16:33:33 GMT</pubDate>
    <dc:creator>jiri_kral</dc:creator>
    <dc:date>2020-10-14T16:33:33Z</dc:date>
    <item>
      <title>Create Makefile via CMake in S32 Design Studio?</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Create-Makefile-via-CMake-in-S32-Design-Studio/m-p/1166342#M6879</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am playing around with MPC5748G with S32 Design Studio for Power Architecture Version 2.1. While I was trying to build a C++ source code, which were developed in Linux on my desktop and supposed to be built via CMake, in S32 Design Studio environment, I realized that CMake cannot be a way to directly create and build a S32DS-oriented Makefile due to its on environmental setup (dependency, compiler, or etc.). I am just wondering if there exist any 'silver bullet' on handling this issue. On of the possible way that comes to my mind is:&lt;/P&gt;&lt;P&gt;(1) Create a Makefile via CMake in local machine. Of course, it has dependency on the local environment, not S32DS's.&lt;/P&gt;&lt;P&gt;(2) Copy, paste, and merge the contents to the Makefile that contains S32DS-oriented setup, which can be easily generated by running "C++ Makefile project from existing codes" in S32 Design Studio.&lt;/P&gt;&lt;P&gt;(3) Now, the edited Makefile has a dependency on S32 Design Studio. Therefore, it can be used to build and create executables or libraries in the IDE.&lt;/P&gt;&lt;P&gt;I am not sure whether this is a possible scenario to happen. If it is applicable, I think 'pruning and editing the Makefile' the process (2) should be done manually and it may require a lot of effort. I am curious whether there exists any decent way to achieve this.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 00:01:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Create-Makefile-via-CMake-in-S32-Design-Studio/m-p/1166342#M6879</guid>
      <dc:creator>jlee4</dc:creator>
      <dc:date>2020-10-13T00:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Create Makefile via CMake in S32 Design Studio?</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Create-Makefile-via-CMake-in-S32-Design-Studio/m-p/1167588#M6892</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;S32DS generates new Makefile for each build. In my opinion - the best way is just write your own Makefile for your code - you don't need to use S32DS. You can use GNU tools which comes with S32DS in your makefile. Cmake is not supported by S32DS.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure about your goal - but you can also import your C++ code into S32DS (copy sources into project space), add Include paths, library archives&amp;nbsp; and just build your project inside IDE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jiri&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 16:33:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Create-Makefile-via-CMake-in-S32-Design-Studio/m-p/1167588#M6892</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2020-10-14T16:33:33Z</dc:date>
    </item>
  </channel>
</rss>

