MantisBT - CMake | |||||||||||||||
View Issue Details | |||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||
0009879 | CMake | CMake | public | 2009-11-10 12:01 | 2016-06-10 14:31 | ||||||||||
Reporter | doub | ||||||||||||||
Assigned To | Kitware Robot | ||||||||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||||||||
Status | closed | Resolution | moved | ||||||||||||
Platform | OS | OS Version | |||||||||||||
Product Version | CMake-2-6 | ||||||||||||||
Target Version | Fixed in Version | ||||||||||||||
Summary | 0009879: find_program command doesn't take PATHEXT into account | ||||||||||||||
Description | The find_program command cannot find programs that don't use the .exe extension, for example .cmd scripts. On Windows, the PATH environment variable is only part of what is used by the command line (and compatible programs) to determine what files are executable. The other part is the PATHEXT environment variable, which lists extensions of executable files. The find_program command seems to assume that .exe is the only extension to check. It should be modified to extract the extension list from PATHEXT, and test all extensions listed there, in the same order as is the Windows command line evaluating them. | ||||||||||||||
Steps To Reproduce | |||||||||||||||
Additional Information | |||||||||||||||
Tags | No tags attached. | ||||||||||||||
Relationships |
| ||||||||||||||
Attached Files | |||||||||||||||
Issue History | |||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||
2009-11-10 12:01 | doub | New Issue | |||||||||||||
2010-12-14 16:11 | David Cole | Assigned To | => David Cole | ||||||||||||
2010-12-14 16:11 | David Cole | Status | new => assigned | ||||||||||||
2010-12-14 16:13 | David Cole | Note Added: 0023974 | |||||||||||||
2011-01-11 17:41 | Brad King | Relationship added | related to 0011680 | ||||||||||||
2011-10-25 22:25 | David Cole | Status | assigned => backlog | ||||||||||||
2011-10-25 22:28 | David Cole | Assigned To | David Cole => | ||||||||||||
2014-10-03 08:15 | Brad King | Relationship added | has duplicate 0015191 | ||||||||||||
2014-10-05 21:06 | Yoshisato Yanagisawa | Note Added: 0036901 | |||||||||||||
2016-06-10 14:27 | Kitware Robot | Note Added: 0041614 | |||||||||||||
2016-06-10 14:27 | Kitware Robot | Status | backlog => resolved | ||||||||||||
2016-06-10 14:27 | Kitware Robot | Resolution | open => moved | ||||||||||||
2016-06-10 14:27 | Kitware Robot | Assigned To | => Kitware Robot | ||||||||||||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|