[CMake] Sort source files/Create source group in source group

Brad King brad.king at kitware.com
Thu Jun 23 11:09:16 EDT 2005


Marco Spatz wrote:
> is there a way to sort the source files by name, so they are in an
> alphabetical order in the project view of VS.NET 2003?

They appear in the order you list in the CMakeLists.txt code.

> and is there a way to create a source group in another source group,
> so that the project view would look like
> 
> + projectBla
> |	
> +-------+>fooManager
> |	|
> |	+-------+>Source Files	
> |	|	|
> |	|	+------->foobar.cpp
> |	|
> |	+-------+>Header Files
> |		|
> |		+------->foobar.h
> |
> +-------+>barManger

I don't think this is currently possible.

-Brad


More information about the CMake mailing list