[CMake] Preserve tree structur for IDEs

Diablo 666 thediablo666 at hotmail.de
Fri Jul 2 04:36:07 EDT 2010


Hi,

> Date: Thu, 1 Jul 2010 15:03:13 +0200
> Subject: Re: [CMake] Preserve tree structur for IDEs
> From: eric.noulard at gmail.com
> To: thediablo666 at hotmail.de
> CC: cmake at cmake.org
> 
> 
> For "grouping" source in Visual Studio you may use
> 
> source_group(name [REGULAR_EXPRESSION regex] [FILES src1 src2 ...])
> 

thanks a lot! Works very fine after a few tries.

I discovered one little problem: CMake automatically generates the folders "Source files" and "Header files" for source/header files that are not explicitly put into another folder. If one creates a folder "Source files" explicitly via source_group, one gets a broken Visual Studio solution file.

Best regards,
Andreas
 		 	   		  
_________________________________________________________________
http://redirect.gimas.net/?n=M1007xHMTL4
Künftig E-Mails über Hotmail ohne Werbung versenden!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100702/9adebdcb/attachment.htm>


More information about the CMake mailing list