[CMake] CMake Server Mode and USE_FOLDERS

Florent Castelli florent.castelli at gmail.com
Tue Jul 4 08:51:12 EDT 2017


 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.
It just takes time! Seeing from the progress they've made, I'm sure it 
will eventually come to the product.

/Florent

On 04/07/2017 12:43, Nagy-Egri Máté Ferenc via CMake wrote:
>
> 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.
>
> 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.
>
> *Feladó: *Michael Jackson <mailto:mike.jackson at bluequartz.net>
> *Elküldve: *2017. július 4., kedd 4:08
> *Címzett: *Cmake Mailing List <mailto:cmake at cmake.org>
> *Tárgy: *[CMake] CMake Server Mode and USE_FOLDERS
>
> I was just exploring in a command line the CMake Server mode in 3.8 (I
>
> have not tried 3.9 yet) just to see what gets output and I was wondering
>
> if CMake-Server mode supports "set_property(GLOBAL PROPERTY USE_FOLDERS
>
> ON)" for any generator? I was specifically using the "ninja" generator
>
> for my experiments. I suspect not since Ninja itself does not have the
>
> concept of this but I though I would inquire.
>
> If IDE's that are now relying on CMake-server had this information it
>
> would allow the IDE to present the project in such a way that the
>
> developers intended or laid out. I know we put a lot of time into our
>
> CMake files so that the Visual Studio and Xcode projects are reasonably
>
> organized when you open them instead of just listing 250 targets.
>
> Thanks for any insights.
>
> Mike Jackson
>
> -- 
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at: 
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For 
> more information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
>
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
>
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
>
> http://public.kitware.com/mailman/listinfo/cmake
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170704/6c951b6d/attachment.html>


More information about the CMake mailing list