[cmake-developers] Should CMAKE_LINK_DEPENDS_NO_SHARED be on by default?
Brad King
brad.king at kitware.com
Mon Feb 25 14:40:17 EST 2013
On 02/25/2013 02:35 PM, Alexander Neundorf wrote:
> if the requested version is higher, simply default to the new behaviour,
> otherwise to the old.
> This would be a bit different than the other policies.
So unset == OLD (internally WARN == OLD)?
If no warning will ever appear we do not need a policy at all.
We can simply define the behavior. With either old or new
default behavior though we still need an explicit option as
a property. Perhaps we should say that if
(CMAKE_)LINK_DEPENDS_SHARED_LIBRARIES
is set to true or false then it is honored. If not then the
current minimum required version of CMake determines the value.
-Brad
More information about the cmake-developers
mailing list