[CMake] How to define an 'include_directories' different for each library

Olivier Pierard olivier.pierard at cenaero.be
Wed Nov 4 10:39:49 EST 2009


Hi,

A quite basic question...

In a given project, I build several libraries and an executable.  How
can I get a different 'include_directories' for each library and not the
same list for all of them (typically, I don't want to have access to the
includes related to the last library when compiling the first one).

Thank you,

Olivier




More information about the CMake mailing list