[CMake] Different INCLUDE_DIRECTORIES for each library

Paul Richards paul.richards at gmail.com
Fri Jul 6 07:45:52 EDT 2007


Hi,
I have one large CMakeLists.txt file which defines multiple static
libraries.  I'm currently using INCLUDE_DIRECTORIES which sets the
include path for all of them at once.  Can I set different include
directories for each static lib?

I'm currently using 2.4.6, but I'm planning to build from CVS as I'd
like to get the fix for 3512:
http://www.cmake.org/Bug/bug.php?op=show&bugid=3512


-- 
Paul Richards


More information about the CMake mailing list