Re: [CMake] Request for added script intelligence

2014-09-09 Thread David Cole via CMake
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

[CMake] Request for added script intelligence

2014-09-08 Thread J Decker
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] )

Re: [CMake] Request for added script intelligence

2014-09-08 Thread David Cole via CMake
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

Re: [CMake] Request for added script intelligence

2014-09-08 Thread J Decker
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