<?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 Re: CMake Template for Archicad Add-Ons in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/220810#M2511</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I'm new to coding and add on development in general&lt;BR /&gt;
&lt;BR /&gt;
I tried following these steps but when I run the commands in visual studio 17 I get an error message saying my visual studio is missing cmakelists.txt?&lt;BR /&gt;
&lt;BR /&gt;
How do I fix this issue?&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
    <pubDate>Sun, 01 Aug 2021 12:17:15 GMT</pubDate>
    <dc:creator>Jay Chung</dc:creator>
    <dc:date>2021-08-01T12:17:15Z</dc:date>
    <item>
      <title>CMake Template for Archicad Add-Ons</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/220809#M2510</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;We are happy to announce our latest development to make Archicad Add-On developers' life easier — a CMake template for C++ Add-On development.&lt;BR /&gt;&lt;BR /&gt;With this solution you can easily generate IDE projects for Archicad Add-Ons, so you can work in your favorite environment. CMake supports Visual Studio and XCode projects, or you may use Visual Studio Code for development.&lt;BR /&gt;&lt;BR /&gt;You can find detailed instructions on the link below. Please let us know if you have any questions or recommendations.&lt;BR /&gt;&lt;BR /&gt;You can access the CMake template on GitHub:&lt;BR /&gt;&lt;A href="https://github.com/GRAPHISOFT/archicad-addon-cmake-template" target="_blank" rel="noopener"&gt;https://github.com/GRAPHISOFT/archicad-addon-cmake-template&lt;/A&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Sep 2021 11:41:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/220809#M2510</guid>
      <dc:creator>Viktor Kovacs</dc:creator>
      <dc:date>2021-09-14T11:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: CMake Template for Archicad Add-Ons</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/220810#M2511</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I'm new to coding and add on development in general&lt;BR /&gt;
&lt;BR /&gt;
I tried following these steps but when I run the commands in visual studio 17 I get an error message saying my visual studio is missing cmakelists.txt?&lt;BR /&gt;
&lt;BR /&gt;
How do I fix this issue?&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Sun, 01 Aug 2021 12:17:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/220810#M2511</guid>
      <dc:creator>Jay Chung</dc:creator>
      <dc:date>2021-08-01T12:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: CMake Template for Archicad Add-Ons</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/220811#M2512</link>
      <description>You have to run the commands from the root directory of the Add-On.</description>
      <pubDate>Sun, 01 Aug 2021 12:57:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/220811#M2512</guid>
      <dc:creator>Viktor Kovacs</dc:creator>
      <dc:date>2021-08-01T12:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: CMake Template for Archicad Add-Ons</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/309259#M2513</link>
      <description>&lt;P&gt;I am trying to include a sub-folder under Sources/AddOn&amp;nbsp; which has some header files that I need to include in some CPP files.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Path to additional header files: Sources/AddOn/SubDir/Include&lt;/P&gt;
&lt;P&gt;I tried the following in the CMakeLists.txt:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;On line 112, changed GLOB to GLOB_RECURSE&lt;/LI&gt;
&lt;LI&gt;Added another include dir in: files (GLOB AddOnHeaderFiles ... like so:&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;file (GLOB AddOnHeaderFiles
	${AddOnSourcesFolder}/*.h
	${AddOnSourcesFolder}/*.hpp
        ${AddOnSourcesFolder}/SubDir/Include/*.h
)​&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Added include_directories():&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;include_directories("Sources/AddOn/SubDir/Include")​&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But none of these help cmake include the additional header files in the sub-dir.&lt;/P&gt;
&lt;P&gt;For the additional .lib that I need to include, I edited line 171, like so:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;file (GLOB LibFilesInFolder ${AC_API_DEVKIT_DIR}/Support/Modules/*/*/*.lib ${AddOnSourcesFolder}/SubDir/Lib/*.lib)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please tell what's the right way to include source files in sub-directories under Sources/AddOn.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 17 Oct 2021 23:58:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/309259#M2513</guid>
      <dc:creator>dushyant</dc:creator>
      <dc:date>2021-10-17T23:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: CMake Template for Archicad Add-Ons</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/309699#M2514</link>
      <description>&lt;P&gt;Anyone? Need help with this..&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/12765"&gt;@Viktor Kovacs&lt;/a&gt;&amp;nbsp; , &lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/11183"&gt;@Tibor Lorantfy&lt;/a&gt; ?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 07:39:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/309699#M2514</guid>
      <dc:creator>dushyant</dc:creator>
      <dc:date>2021-10-19T07:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: CMake Template for Archicad Add-Ons</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/369085#M2515</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeeJaeYoung_1-1675056091785.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/33917iD29473B1386D5698/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeeJaeYoung_1-1675056091785.png" alt="LeeJaeYoung_1-1675056091785.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I downloaded the template file and installed it.&lt;BR /&gt;But I don't know which file this is.&lt;BR /&gt;Is there any way to know?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeeJaeYoung_0-1675056060145.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/33916iA9A37E4C44D34527/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeeJaeYoung_0-1675056060145.png" alt="LeeJaeYoung_0-1675056060145.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 05:22:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/369085#M2515</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2023-01-30T05:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: CMake Template for Archicad Add-Ons</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/369086#M2516</link>
      <description>&lt;P&gt;Try to open the "archicad-addon-cmake-master" folder as a project in Visual Studio.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 05:29:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/369086#M2516</guid>
      <dc:creator>dushyant</dc:creator>
      <dc:date>2023-01-30T05:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: CMake Template for Archicad Add-Ons</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/369105#M2517</link>
      <description>&lt;P&gt;Could you please explain a little longer for the translator?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Can I just click the Create a new project button?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeeJaeYoung_0-1675070309865.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/33925i0E7D1B8ED5A595D9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeeJaeYoung_0-1675070309865.png" alt="LeeJaeYoung_0-1675070309865.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. There are choices like the picture above, but I'm asking because I don't know which one it is.&lt;BR /&gt;Are you saying to unzip it differently than before and proceed to Open a project or solution?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 09:21:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/369105#M2517</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2023-01-30T09:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: CMake Template for Archicad Add-Ons</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/369111#M2518</link>
      <description>&lt;P&gt;Decompress/Unzip the&amp;nbsp;archicad-addon-cmake-master.zip folder if you downloaded it. Select "Open a local folder" option in VS to open the unzipped folder. Then probably try: Project &amp;gt; CMake Settings.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 10:15:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/369111#M2518</guid>
      <dc:creator>dushyant</dc:creator>
      <dc:date>2023-01-30T10:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: CMake Template for Archicad Add-Ons</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/369117#M2519</link>
      <description>&lt;P&gt;1&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeeJaeYoung_0-1675079668488.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/33928i149F765E542261F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeeJaeYoung_0-1675079668488.png" alt="LeeJaeYoung_0-1675079668488.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeeJaeYoung_1-1675079697421.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/33929i138F2BF279C3EC4F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeeJaeYoung_1-1675079697421.png" alt="LeeJaeYoung_1-1675079697421.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;is this right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Strange point Can I go to the support folder at this point?&lt;BR /&gt;Doesn't it seem to me that it should be installed on the example?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Is there anything else I need to set up next?&lt;BR /&gt;Can I just proceed as before?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 11:59:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/369117#M2519</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2023-01-30T11:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: CMake Template for Archicad Add-Ons</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/369119#M2520</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeeJaeYoung_2-1675080179814.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/33930iDDEC23181BF98735/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeeJaeYoung_2-1675080179814.png" alt="LeeJaeYoung_2-1675080179814.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I ask because it seems to be very different from when I opened element_test.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 12:03:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/CMake-Template-for-Archicad-Add-Ons/m-p/369119#M2520</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2023-01-30T12:03:35Z</dc:date>
    </item>
  </channel>
</rss>

