MantisBT - CMake
View Issue Details
0010138CMakeModulespublic2010-01-13 17:402016-06-10 14:21
Clinton Stimpson 
Clinton Stimpson 
highminoralways
closedduplicate 
 
 
0010138: GetPrerequisties can't find dumpbin for non-default installation
GetPrerequisites.cmake has things like this:

"C:/Program Files/Microsoft Visual Studio 8/VC/BIN"
"C:/Program Files (x86)/Microsoft Visual Studio 8/VC/BIN"

It should instead do something like this:
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0;InstallDir]/../../VC/bin"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\VisualStudio\\8.0;InstallDir]/../../VC/bin"
No tags attached.
duplicate of 0016108closed  get_prerequisites failed to locate installed Microsoft Visual Studio if installed into not default location 
Issue History
2010-01-13 17:40Clinton StimpsonNew Issue
2010-07-13 09:31Bill HoffmanStatusnew => assigned
2010-07-13 09:31Bill HoffmanAssigned To => David Cole
2010-09-09 17:47David ColePrioritynormal => high
2010-09-09 17:47David ColeDescription Updated
2010-11-10 21:09David ColeTarget Version => CMake 2.8.4
2011-01-05 15:50David ColeNote Added: 0024436
2011-01-05 15:50David ColeNote Added: 0024437
2011-01-05 15:50David ColeTarget VersionCMake 2.8.4 =>
2011-01-05 15:50David ColeNote Edited: 0024436bug_revision_view_page.php?bugnote_id=24436#r77
2011-10-25 22:25David ColeStatusassigned => backlog
2011-10-25 22:27David ColeAssigned ToDavid Cole =>
2016-05-25 11:01Clinton StimpsonRelationship addedduplicate of 0016108
2016-05-25 11:01Clinton StimpsonStatusbacklog => resolved
2016-05-25 11:01Clinton StimpsonResolutionopen => duplicate
2016-05-25 11:01Clinton StimpsonAssigned To => Clinton Stimpson
2016-06-10 14:21Kitware RobotNote Added: 0041164
2016-06-10 14:21Kitware RobotStatusresolved => closed

Notes
(0024436)
David Cole   
2011-01-05 15:50   
An easy workaround for this issue would be to set the variable "gp_cmd" to point to the full path of the dumpbin you want to use before including GetPrerequisites and calling its functions.

Or, alternatively:
set(ENV{PATH} "C:/dir/to/dumpbin;$ENV{PATH}")
before including/calling...

(0024437)
David Cole   
2011-01-05 15:50   
Unsetting the target version field. Since there is an easy workaround, and plenty of other more important bugs to try to finish for the 2.8.4 release, this one is: deferred until later.
(0041164)
Kitware Robot   
2016-06-10 14:21   
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.