Let's see if anybody else chimes in with an opinion. I've already given
mine, and I don't think there's a good argument for making installing
the debug runtime libraries any easier than it already is.
You can certainly write a wrapper script around the existing CMake
InstallRequiredSystemLibra
Then it should be default in debug build not copy the release libraries
which are unreferenced anyway.
'sides that... I'm only asking for the leading intelligence before the
include, and not including the INSTALL line.
I'm not asking to change having to add a INSTALL rule... just having a
better de
I don't think that's a good idea.
The Debug libraries are supposed to be non-redistributable. (At least
that used to be true... is it still true?) To Debug a VS-built project,
you have to run it on a machine with VS installed, so there's not a
compelling need to "install" the debug libraries a
Can something like ...
SET( CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP 1 )
if( ${CMAKE_BUILD_TYPE} MATCHES "[dD][eE][bB][uU][gG]" )
SET( CMAKE_INSTALL_DEBUG_LIBRARIES 1 )
SET( CMAKE_INSTALL_DEBUG_LIBRARIES_ONLY 1 )
endif( ${CMAKE_BUILD_TYPE} MATCHES "[dD][eE][bB][uU][gG]" )
INCLUDE(InstallRequiredSys