They will be inherited based on the linking types ( PUBLIC, PRIVATE, INTERFACE). The build specification and usage requirements section of cmake buildsystem documentation is a great introduction to how this all works. You can read it at: http://www.cmake.org/cmake/help/v3.0/manual/cmake-buildsystem.7.html
On Thu, Oct 16, 2014 at 10:37 PM, Robert Dailey <[email protected]> wrote: > I'm ramping up on CMake 3.0 and I like that you've added > INTERFACE_INCLUDE_DIRECTORIES. Is this automatic when I add a > dependency on another target? For example, suppose I have two targets > A and B. And in my target link libraries for B, I specify A. B now > depends on A. Will I also inherit its interface include directories or > do I have to do that manually? > -- > > Powered by www.kitware.com > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Kitware offers various services to support the CMake community. For more > information on each offering, please visit: > > CMake Support: http://cmake.org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake >
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
