AW: [CMake] How to create a solution folder in Visual Studio 2005?

MS ms.news at gmx.net
Tue Aug 14 13:53:44 EDT 2007


Hello,
thanks for your reply. It's nearly that I want, but I only want to create
custom solution folders in Visual Studio IDE. How and where do I get sources
of version 2.4.6?
Second question: Is there a way to query the configuration state
(debug/release) of Visual Studio IDE using Cmake? I want to make a decision
in my CMakeLists file due to this state.

Thanks,
Markus

-----Ursprüngliche Nachricht-----
Von: Richard Moreland [mailto:rmoreland at acusoft.com] 
Gesendet: Dienstag, 14. August 2007 15:13
An: MS; cmake at cmake.org
Betreff: Re: [CMake] How to create a solution folder in Visual Studio 2005?

Hi,

I recently added support for Solution Folders in VS2K5 by making these 
changes:

http://ncogni.to/cmake_solution_folders.zip

It creates a solution folder hierarchy that matches your folder 
hierarchy on disk.  See http://ncogni.to/sshot-40.png to see what I 
mean.  If this isn't what you want, at least you can see how I 
implemented it by diffing my files against 2.4.6.

You'll need to download the CMake 2.4.6 source (I did this before 2.4.7 
was released), apply these files, and build.  Then, just 
Set(NEST_SOLUTION_FOLDERS True) in your toplevel CMakeLists.txt.

Hope this helps,
Richard

MS wrote:
>
> Hello,
>
> how can I create a solution folder in Visual Studio 2005 using CMake?
>
>  
>
> Thanks,
>
> Markus
>



More information about the CMake mailing list