On Fri, 13 May 2016 07:06:32 +1000 Craig Scott <craig.sc...@crascit.com> wrote:
> Patrick, > > I suggest if you can reduce your problem down to a small, reproducible > example, then file a bug. I did a test just now with CMake 3.5.2 and > everything behaved as expected, including the header search path > propagation, so maybe there's something unusual in your project which > a simple case doesn't capture. Perhaps also try different generator > types in case that results in something different (unlikely, but > since you see different behaviour to me, give it a go). I filed a bug with a test-case reduced to 7 lines of cmake. I reproduced it with GNU Make and Ninja a generator. https://cmake.org/Bug/view.php?id=16102 I'm also reading some cmake-code, but haven't yet found where includes are inherited from linked targets. Currently looking at cmGeneratorTarget::GetIncludeDirectories() ... Thanks for your feedback. best regards, -- Patrick. -- 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