View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003277CMakeCMakepublic2006-05-23 10:502007-02-01 16:57
ReporterLaurentiu Nicolae 
Assigned ToBrad King 
PrioritylowSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003277: <config>_OUTPUT_NAME not used for pdb and idb files
DescriptionI just noticed that the postfix I use for the debug build is not used
for the pdb and idb files. Namely, I get:

QBase_D.dll
QBase_D.exp
QBase_D.ilk
QBase_D.lib

QBase.idb
qbase.pdb

I'm guessing this should be fixed in the generator. Note also that the
pdb file is all lowercase (which has no impact whatsoever on a Windows
platform, but I thought I should mention it anyway).
TagsNo tags attached.
Attached Filespatch file icon PdbWith_d-2.4.6.patch [^] (1,984 bytes) 1969-12-31 19:00 [Show Content]

 Relationships
related to 0011899closedBrad King Put compiler's program database files into intermediate directory rather than output one for VS 2005 

  Notes
(0006281)
test.007 (reporter)
2007-01-30 08:05

It was probably introduced here: http://www.cmake.org/cgi-bin/viewcvs.cgi/Source/cmLocalVisualStudio7Generator.cxx?root=CMake&r1=1.100&r2=1.101 [^]
(0006302)
Brad King (manager)
2007-02-01 09:59

The fix for this bug is quite a bit more complicated than the attached patch provides. Several changes are needed in order to fix the NMake Makefiles generator as well as the VS IDE generator. The following changes fix this in CVS:

/cvsroot/CMake/CMake/Source/cmInstallTargetGenerator.cxx,v <-- cmInstallTargetGenerator.cxx
new revision: 1.25; previous revision: 1.24
/cvsroot/CMake/CMake/Source/cmLocalUnixMakefileGenerator3.cxx,v <-- cmLocalUnixMakefileGenerator3.cxx
new revision: 1.185; previous revision: 1.184
/cvsroot/CMake/CMake/Source/cmLocalVisualStudio7Generator.cxx,v <-- cmLocalVisualStudio7Generator.cxx
new revision: 1.160; previous revision: 1.159
/cvsroot/CMake/CMake/Source/cmLocalVisualStudio7Generator.h,v <-- cmLocalVisualStudio7Generator.h
new revision: 1.30; previous revision: 1.29
/cvsroot/CMake/CMake/Source/cmMakefileExecutableTargetGenerator.cxx,v <-- cmMakefileExecutableTargetGenerator.cxx
new revision: 1.24; previous revision: 1.23
/cvsroot/CMake/CMake/Source/cmMakefileLibraryTargetGenerator.cxx,v <-- cmMakefileLibraryTargetGenerator.cxx
new revision: 1.30; previous revision: 1.29
/cvsroot/CMake/CMake/Source/cmTarget.cxx,v <-- cmTarget.cxx
new revision: 1.118; previous revision: 1.117
/cvsroot/CMake/CMake/Source/cmTarget.h,v <-- cmTarget.h
new revision: 1.68; previous revision: 1.67

The fix will be included in an upcoming patch release.
(0006317)
Brad King (manager)
2007-02-01 16:57

The following changes simplify the implementation and fix the location of .pdb files when using executable output path with nmake:

/cvsroot/CMake/CMake/Source/cmTarget.cxx,v <-- cmTarget.cxx
new revision: 1.119; previous revision: 1.118
/cvsroot/CMake/CMake/Source/cmTarget.h,v <-- cmTarget.h
new revision: 1.69; previous revision: 1.68
/cvsroot/CMake/CMake/Source/cmLocalVisualStudio7Generator.cxx,v <-- cmLocalVisualStudio7Generator.cxx
new revision: 1.166; previous revision: 1.165
/cvsroot/CMake/CMake/Source/cmMakefileTargetGenerator.cxx,v <-- cmMakefileTargetGenerator.cxx
new revision: 1.51; previous revision: 1.50

 Issue History
Date Modified Username Field Change
2011-02-28 09:58 Brad King Relationship added related to 0011899


Copyright © 2000 - 2018 MantisBT Team