On 03/22/2018 10:17 AM, Mateusz Loskot wrote: > It seems folks generally agree there is need for porcelain API. > It's a pity it's been 5+ years and it is still waiting for implementation.
For reference, there were several discussions. Some of them were here: * "Setting include directories via target_link_libraries" https://cmake.org/pipermail/cmake-developers/2012-December/017561.html * "Setting includes, defines and other usage requirements with one command" https://cmake.org/pipermail/cmake-developers/2013-January/017939.html It was an extended debate over whether a separate `target_use_targets` command should be introduced instead of propagating usage requirements through `target_link_libraries`. The main driving factor was compatibility with existing projects using `target_link_libraries` at the time. In the end it was decided that the extra command would be redundant and we proceeded with `tll()` only. I'd prefer not to have this debated endlessly again. Perhaps the name `target_link_libraries` no longer fully conveys the semantics, but it's good enough and has worked well for years now. -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: https://cmake.org/mailman/listinfo/cmake