[CMake] Visual Studio project layout

Rolf Eike Beer eike at sf-mail.de
Tue Dec 14 05:43:11 EST 2010


> I'm trying to reduce the number of toplevel projects in my CMake
> generated Visual Studio solution. The idea is to group some targets in
> solution paths. The layout should look like this:
> 
> Solution
> - Target 1
> - Foo
>      + Target 2
>      + Target 3
> - Target 4
> ...
> 
> Is there a way to achieve this with CMake?

Search for property SOLUTION_FOLDER, introduced in 2.8.3.

Eike


More information about the CMake mailing list