View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0001306 | CMake | public | 2004-10-29 18:51 | 2004-11-01 13:35 | |||||
Reporter | schapira | ||||||||
Assigned To | Bill Hoffman | ||||||||
Priority | high | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001306: Presumably overflow on link step for SHARED libraries. | ||||||||
Description | Given 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. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
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". |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |