views:

19

answers:

1

Hi I am building Cmake based build system. I would like to group header files in folders (VC++ can do it) under the general folder Headr Files. Similar I would like to group the corresponding .cpp files in folders under the Source Files directory. Unfortunately I could not find any instructions of how to do it.

Please help.

Dimitre

A: 

You should give a look at CMake source_group command.

tibur