View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001306CMakepublic2004-10-29 18:512004-11-01 13:35
Reporterschapira 
Assigned ToBill Hoffman 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001306: Presumably overflow on link step for SHARED libraries.
DescriptionGiven a project with a large number of LINK_LIBRARIES and/or LINK_DIRECTORIES, CMake creates wrong settings for the link step of a DLL library using ADD_LIBRARY(name SHARED source.cpp). In my case, for the Release version (Not the debug) it is setting the output to be an exe, and often truncating the list of libraries. This problem doesn't occur with ADD_EXECUTABLE(). I am using version 2.0 Patch 4. The bug occurs when generating code for VC6.0 and VS2003.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0001676)
schapira (reporter)
2004-11-01 13:35

The DSP files for Visual Studio 6.0 are generated properly. It seems to be a problem with the MSVC6.0 IDE, that has a limitation length for the DLL link pages. My solution was to output all libraries to one directory so I don't have to add too many "Additional Link Paths".

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team