View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010352CMakeCPackpublic2010-03-01 11:532016-06-10 14:31
ReporterRyan Pavlik 
Assigned ToKitware Robot 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in Version 
Summary0010352: Warn, or don't allow without variable set, when trying to build PACKAGE in a debug configuration on MSVC
DescriptionThe MSVC debug runtime (used in the Debug configuration, but not in the RelWithDebInfo config) is not redistributable, so a package built when the configuration is set to Debug (the default for the visual studio generators) will not be usable on machines without that version of visual studio installed.

It would be good to at least warn when attempting to do this, or to make the package build fail unless an override variable is set (in case, for example, something only works in debug and it will be used on another machine with VS installed).
TagsNo tags attached.
Attached Files

 Relationships
related to 0011141closedDavid Cole InstallRequiredSystemLibraries cannot install just debug libraries 

  Notes
(0019666)
Ryan Pavlik (reporter)
2010-03-01 12:07

And actually, it looks like InstallRequiredSystemLibraries does install the debug runtimes, which is apparently not permissable (probably a better reference somewhere than this but it is something: http://blogs.msdn.com/jigarme/archive/2008/05/08/vc-debug-c-runtime-files.aspx [^] ). A more official link: http://msdn.microsoft.com/en-us/library/ms235299.aspx [^]
(0021021)
Ryan Pavlik (reporter)
2010-06-15 11:54

It looks like this is a configurable option now in CMake 2.8.1 - if I understood the code correctly, I think this can be closed.
(0024793)
David Cole (manager)
2011-01-17 14:43

Ryan,

Do you still think we should warn at build "package" time when building a Debug package with the MS compiler? Or is the control given in InstallRequiredSystemLibraries as of CMake 2.8.4-rc1 sufficient to address this issue?

See also: 0011141
(0025225)
Ryan Pavlik (reporter)
2011-02-02 16:54

Yes, I'm thinking a warning would still be appropriate. The configuration options in the latest InstallRequiredSystemLibraries are useful if you already know this is something to be aware of, but a warning by default might be appreciated.
(0025284)
David Cole (manager)
2011-02-04 11:00

See also (about not redistributing Debug libraries):
http://msdn.microsoft.com/en-us/library/aa985618 [^]
(0041661)
Kitware Robot (administrator)
2016-06-10 14:27

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2010-03-01 11:53 Ryan Pavlik New Issue
2010-03-01 12:07 Ryan Pavlik Note Added: 0019666
2010-06-15 11:54 Ryan Pavlik Note Added: 0021021
2011-01-17 14:40 David Cole Assigned To => David Cole
2011-01-17 14:40 David Cole Status new => assigned
2011-01-17 14:43 David Cole Note Added: 0024793
2011-01-17 14:43 David Cole Relationship added related to 0011141
2011-02-02 16:54 Ryan Pavlik Note Added: 0025225
2011-02-04 11:00 David Cole Note Added: 0025284
2011-10-26 00:04 David Cole Assigned To David Cole =>
2011-10-26 00:04 David Cole Status assigned => backlog
2016-06-10 14:27 Kitware Robot Note Added: 0041661
2016-06-10 14:27 Kitware Robot Status backlog => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:27 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team