[prev in list] [next in list] [prev in thread] [next in thread]
List: cmake
Subject: Re: [CMake] [proposal] Support for modern CMake
From: Brad King <brad.king () kitware ! com>
Date: 2018-03-22 15:51:11
Message-ID: c075f510-d513-1a00-6ae3-fd2e0209ed7b () kitware ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic