[CMake] CMake Server Mode and USE_FOLDERS
Nagy-Egri Máté Ferenc
csiga.biga at aol.com
Tue Jul 4 06:43:24 EDT 2017
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
Elküldve: 2017. július 4., kedd 4:08
Címzett: Cmake Mailing List
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/58797ea9/attachment.html>
More information about the CMake
mailing list