MantisBT - CMake
View Issue Details
0011141CMakeModulespublic2010-08-18 06:562011-05-02 14:45
Mike McQuaid 
David Cole 
normalfeaturealways
closedfixed 
CMake-2-8 
CMake 2.8.4CMake 2.8.4 
0011141: InstallRequiredSystemLibraries cannot install just debug libraries
There's no way currently to install or get just the debug libraries for InstallRequiredSystemLibraries. As this would usually be used for packaging, it makes sense to only distribute the debug versions on debug builds.

I can create a patch for this if it would be accepted.
No tags attached.
related to 0010352closed Kitware Robot Warn, or don't allow without variable set, when trying to build PACKAGE in a debug configuration on MSVC 
Issue History
2010-08-18 06:56Mike McQuaidNew Issue
2010-12-13 07:06Mike McQuaidNote Added: 0023912
2010-12-15 11:24David ColeAssigned To => David Cole
2010-12-15 11:24David ColeStatusnew => assigned
2011-01-06 06:53Mike McQuaidNote Added: 0024447
2011-01-06 12:57David ColeTarget Version => CMake 2.8.4
2011-01-06 13:00David ColeNote Added: 0024467
2011-01-06 13:00David ColeStatusassigned => resolved
2011-01-06 13:00David ColeFixed in Version => CMake 2.8.4
2011-01-06 13:00David ColeResolutionopen => fixed
2011-01-17 14:43David ColeRelationship addedrelated to 0010352
2011-05-02 14:45David ColeNote Added: 0026337
2011-05-02 14:45David ColeStatusresolved => closed

Notes
(0023912)
Mike McQuaid   
2010-12-13 07:06   
4 months later ping. If I shouldn't be bugs on the bug tracker can you suggest the best way of getting these looked at?

Thanks!
(0024447)
Mike McQuaid   
2011-01-06 06:53   
Pull request added: https://github.com/Kitware/CMake/pull/1 [^]
(0024467)
David Cole   
2011-01-06 13:00   
Fixed in this git commit, just pushed to 'next':
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=753b429ec49a66287ba34d6fc2139e077a3eed4d [^]

Should make it into 2.8.4...

Thanks, Mike McQuaid, for the patch / pull request!

As usual, however, when this topic comes up, I feel obligated to point out that the debug libraries are *NOT* intended for re-distribution. This capability is built into CMake only for developer convenience to debug problems with a debug build on a non-development machine. The debug libraries are intentionally NOT installed by default.

Do not redistribute them, as I am fairly confident that is a violation of the licensing terms of Visual Studio. The spirit of the license is: debug libraries only get installed with official installations of Visual Studio. Do not re-distribute them as part of an installer you build for general consumption.
(0026337)
David Cole   
2011-05-02 14:45   
Closing resolved issues that have not been updated in more than 3 months.