[CMake] Setting the directory associated with a target

Mathias Gaunard mathias.gaunard at ens-lyon.org
Mon Aug 22 07:13:21 EDT 2011


Hi,

I've recently moved from using the simple Makefile generator to the 
Eclipse CDT one, and I have noticed that targets only appear in the 
directory in which they were created.

Is there a way to specify which directory a target should appear in?

I tend to define "parent" targets when the first "child" target is 
created, which means it doesn't appear in the right place.


More information about the CMake mailing list