[CMake] CustomTargets in separate VS folders?

Petr Kmoch petr.kmoch at gmail.com
Wed Apr 4 03:34:44 EDT 2012


Hi NoRulez.

Yes, it's possible. It's a two-step process.

First, you need to set the global cmake property USE_FOLDERS to true;
this enables support for Visual Studio Solution Filters (project
grouping). Then, you can set a target's FOLDER property to put it into
a specific (sub-)folder.

Best,

Petr

On Wed, Apr 4, 2012 at 9:26 AM,  <norulez at me.com> wrote:
> Hello,
>
> is it possible to move custom targets (add_custom_target) in subfolders in visual studio, like source_group's?
>
> Thanks in advance
>
> Best Regards
> NoRulez


More information about the CMake mailing list