[CMake] Visual Studio solution folders with 1 item in them

Andrei Porumb anporumb at microsoft.com
Wed Jul 22 18:04:06 EDT 2015


Hello CMake,

                Thank you for everything so far!

                I am migrating some cross platform projects to CMake. Naturally our devs (myself included) like things to look "in a certain way". And if "certain way" can be produced by CMake then adoption is smoothened.

                That being said, this is the issue at hand. How can I instruct CMake to produce some harmless Visual Studio solution folders having some non-target items in them? (I know how to insert targets under Visual Studio solution folders, but I need simple files). Like in the picture below. Notice that "Specs" solution folder contains 3 items, a text file, a bitmap and a sequenceDiagram, none of which are CMake targets.

[cid:image001.png at 01D0C48F.A69D52C0]

                Any help is greatly appreciated.

Best Regards,
Andrei Porumb

"a skhizein equals to 1 software rename/dev cycle"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150722/51190c9f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 25768 bytes
Desc: image001.png
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150722/51190c9f/attachment-0001.png>


More information about the CMake mailing list