I think the documentation also fails to mention that link dependencies propagate even when "PRIVATE" is used, if the target is a static library.
On 22 Aug 2017 4:40 pm, "Brad King" <[email protected]> wrote: > On 08/22/2017 11:36 AM, Robert Maynard wrote: > > The `Transitive Usage Requirements` section of the cmake-buildsystem > > documentation quickly covers this idea but it could be elaborated on. > > This might be a good place for a concrete example. > > Yes. Showing the transitive header case as an example would be good > to show when a dependency should be PUBLIC instead of PRIVATE. > > -Brad > -- > > 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
