diff options
author | Brad King <brad.king@kitware.com> | 2024-02-16 17:42:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-02-22 13:43:16 (GMT) |
commit | 721d8b192ad46b3b06ca4362838eed71db67830e (patch) | |
tree | 696227577e101c953e776095e789c98f6f890480 /Help/prop_tgt/VS_USE_DEBUG_LIBRARIES.rst | |
parent | 47136b695907c2aa50a0e0c892b3ca7fd8817836 (diff) | |
download | CMake-721d8b192ad46b3b06ca4362838eed71db67830e.zip CMake-721d8b192ad46b3b06ca4362838eed71db67830e.tar.gz CMake-721d8b192ad46b3b06ca4362838eed71db67830e.tar.bz2 |
VS: Add UseDebugLibraries to vcxproj files by default
Use heuristics to select a reasonable value. Add policy CMP0162
to provide compatibility with existing projects.
Fixes: #25327
Diffstat (limited to 'Help/prop_tgt/VS_USE_DEBUG_LIBRARIES.rst')
-rw-r--r-- | Help/prop_tgt/VS_USE_DEBUG_LIBRARIES.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Help/prop_tgt/VS_USE_DEBUG_LIBRARIES.rst b/Help/prop_tgt/VS_USE_DEBUG_LIBRARIES.rst index 78ad36a..3d5ada4 100644 --- a/Help/prop_tgt/VS_USE_DEBUG_LIBRARIES.rst +++ b/Help/prop_tgt/VS_USE_DEBUG_LIBRARIES.rst @@ -23,5 +23,6 @@ to be non-debug configurations. The property is initialized from the value of the :variable:`CMAKE_VS_USE_DEBUG_LIBRARIES` variable, if it is set. -If the property is not set, then CMake does not generate any -``UseDebugLibraries`` indicator. +If the property is not set then CMake generates ``UseDebugLibraries`` using +heuristics to determine which configurations are debug configurations. +See policy :policy:`CMP0162`. |