Re: [CMake] Visual Studio project layout

2010-12-21 Thread Diablo 666

> Search for property SOLUTION_FOLDER, introduced in 2.8.3.

Thanks a lot, that was exactly what I was looking for!


(It seems actually, that the property is called FOLDER now)

  ___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Visual Studio project layout

2010-12-14 Thread David Cole
Actually, it's just "FOLDER".

  http://cmake.org/cmake/help/cmake-2-8-docs.html#prop_tgt:FOLDER

Set the target property FOLDER on the targets that you want to put in
folders.

Then activate it by setting the global property USE_FOLDERS to ON.

  http://cmake.org/cmake/help/cmake-2-8-docs.html#prop_global:USE_FOLDERS

The feature is off by default because Visual Studio Express does not support
solution folders.


HTH,
David


On Tue, Dec 14, 2010 at 5:43 AM, Rolf Eike Beer  wrote:

> > 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
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Visual Studio project layout

2010-12-14 Thread Rolf Eike Beer
> 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
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

[CMake] Visual Studio project layout

2010-12-14 Thread Diablo 666

Hi all,

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?

Best regards,
Andreas


  ___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake