MantisBT - CMake
View Issue Details
0003277CMakeCMakepublic2006-05-23 10:502007-02-01 16:57
Laurentiu Nicolae 
Brad King 
lowminoralways
closedfixed 
 
 
0003277: <config>_OUTPUT_NAME not used for pdb and idb files
I 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).
No tags attached.
related to 0011899closed Brad King Put compiler's program database files into intermediate directory rather than output one for VS 2005 
patch PdbWith_d-2.4.6.patch (1,984) 1969-12-31 19:00
https://public.kitware.com/Bug/file/871/PdbWith_d-2.4.6.patch
Issue History
2011-02-28 09:58Brad KingRelationship addedrelated to 0011899

Notes
(0006281)
test.007   
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   
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   
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