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

J Decker d3ck0r at gmail.com
Wed Jul 22 22:13:28 EDT 2015


globally set

set_property(GLOBAL PROPERTY USE_FOLDERS On)


SET_TARGET_PROPERTIES(<target> PROPERTIES
                  FOLDER "folder name"
)




On Wed, Jul 22, 2015 at 3:04 PM, Andrei Porumb <anporumb at microsoft.com>
wrote:

>  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.
>
>
>
>
>
>                 Any help is greatly appreciated.
>
>
>
> Best Regards,
>
> Andrei Porumb
>
>
>
> "a skhizein equals to 1 software rename/dev cycle"
>
>
>
> --
>
> 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/20150722/94d7dc08/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 25768 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150722/94d7dc08/attachment-0001.png>


More information about the CMake mailing list