<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">From what I've read from the VS CMake
      team at Microsoft in various blog posts and online discussions,
      they plan to have actual targets someday in VS instead of the
      "Open folder" structure they currently have with their
      integration. So right now, that information wouldn't be of any use
      for them since they don't even have a flat list of projects.<br>
      It just takes time! Seeing from the progress they've made, I'm
      sure it will eventually come to the product.<br>
      <br>
      /Florent<br>
      <br>
      On 04/07/2017 12:43, Nagy-Egri Máté Ferenc via CMake wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:20170704104328.36134F9EF2@public.kitware.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
      <div class="WordSection1">
        <p class="MsoNormal">I can only speak about VS, which currently
          neither with the VS nor the Ninja generator use the FOLDERS
          property to lay out the targets inside the Solution Explorer.
          Instead, it maintains the folder structure of the CMake
          project. This was an intentional design decision from their
          part (at least for the time being), due to CMake folks
          primarily being used to the command line, thus they think in
          therms of the folder structure, not the logical layout of the
          CMake scripts.</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">There is a tendency though of hooking all
          CMake notions into the IDE, such as CTests show up Test
          Explorer. Reach out to the VS CMake team and let them know
          that there is such need, perhaps controlled through a switch.</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div
          style="mso-element:para-border-div;border:none;border-top:solid
          #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
          <p class="MsoNormal" style="border:none;padding:0cm"><b>Feladó:
            </b><a href="mailto:mike.jackson@bluequartz.net"
              moz-do-not-send="true">Michael Jackson</a><br>
            <b>Elküldve: </b>2017. július 4., kedd 4:08<br>
            <b>Címzett: </b><a href="mailto:cmake@cmake.org"
              moz-do-not-send="true">Cmake Mailing List</a><br>
            <b>Tárgy: </b>[CMake] CMake Server Mode and USE_FOLDERS</p>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I was just exploring in a command line the
          CMake Server mode in 3.8 (I </p>
        <p class="MsoNormal">have not tried 3.9 yet) just to see what
          gets output and I was wondering </p>
        <p class="MsoNormal">if CMake-Server mode supports
          "set_property(GLOBAL PROPERTY USE_FOLDERS </p>
        <p class="MsoNormal">ON)" for any generator? I was specifically
          using the "ninja" generator </p>
        <p class="MsoNormal">for my experiments. I suspect not since
          Ninja itself does not have the </p>
        <p class="MsoNormal">concept of this but I though I would
          inquire.</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">If IDE's that are now relying on
          CMake-server had this information it </p>
        <p class="MsoNormal">would allow the IDE to present the project
          in such a way that the </p>
        <p class="MsoNormal">developers intended or laid out. I know we
          put a lot of time into our </p>
        <p class="MsoNormal">CMake files so that the Visual Studio and
          Xcode projects are reasonably </p>
        <p class="MsoNormal">organized when you open them instead of
          just listing 250 targets.</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Thanks for any insights.</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Mike Jackson</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">-- </p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Please keep messages on-topic and check the
          CMake FAQ at: <a class="moz-txt-link-freetext" href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Kitware offers various services to support
          the CMake community. For more information on each offering,
          please visit:</p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">CMake Support:
          <a class="moz-txt-link-freetext" href="http://cmake.org/cmake/help/support.html">http://cmake.org/cmake/help/support.html</a></p>
        <p class="MsoNormal">CMake Consulting:
          <a class="moz-txt-link-freetext" href="http://cmake.org/cmake/help/consulting.html">http://cmake.org/cmake/help/consulting.html</a></p>
        <p class="MsoNormal">CMake Training Courses:
          <a class="moz-txt-link-freetext" href="http://cmake.org/cmake/help/training.html">http://cmake.org/cmake/help/training.html</a></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Visit other Kitware open-source projects at
          <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Follow this link to subscribe/unsubscribe:</p>
        <p class="MsoNormal"><a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/cmake">http://public.kitware.com/mailman/listinfo/cmake</a></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>