| MantisBT - CMake | |||||||||||||||
| View Issue Details | |||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||
| 0012065 | CMake | CMake | public | 2011-04-09 17:59 | 2015-03-02 08:57 | ||||||||||
| Reporter | Clinton Stimpson | ||||||||||||||
| Assigned To | Clinton Stimpson | ||||||||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||||||||
| Status | closed | Resolution | fixed | ||||||||||||
| Platform | OS | OS Version | |||||||||||||
| Product Version | |||||||||||||||
| Target Version | Fixed in Version | ||||||||||||||
| Summary | 0012065: file(RELATIVE_PATH ...) gives wrong results with extra "./" | ||||||||||||||
| Description | set(fil /path/to/one) set(dir /path/to/.) file(RELATIVE_PATH rel ${dir} ${fil}) message(STATUS "rel=${rel}") # output is "rel=../one" -- wrong set(dir /path/to/././././.) # with get_filename_component it gives the "rel=one" instead of # rel=../../../../../one get_filename_component(dir /path/to/././././. ABSOLUTE) file(RELATIVE_PATH rel ${dir} ${fil}) message(STATUS "rel=${rel}") | ||||||||||||||
| Steps To Reproduce | |||||||||||||||
| Additional Information | |||||||||||||||
| Tags | No tags attached. | ||||||||||||||
| Relationships | 
 | ||||||||||||||
| Attached Files | |||||||||||||||
| Issue History | |||||||||||||||
| Date Modified | Username | Field | Change | ||||||||||||
| 2011-04-09 17:59 | Clinton Stimpson | New Issue | |||||||||||||
| 2012-08-11 11:09 | David Cole | Status | new => backlog | ||||||||||||
| 2012-08-11 11:09 | David Cole | Note Added: 0030251 | |||||||||||||
| 2014-02-19 15:57 | Brad King | Relationship added | has duplicate 0014765 | ||||||||||||
| 2014-02-19 15:58 | Brad King | Relationship added | related to 0014462 | ||||||||||||
| 2014-09-09 10:31 | Clinton Stimpson | Assigned To | => Clinton Stimpson | ||||||||||||
| 2014-09-09 10:31 | Clinton Stimpson | Status | backlog => assigned | ||||||||||||
| 2014-09-09 10:33 | Clinton Stimpson | Note Added: 0036756 | |||||||||||||
| 2014-09-09 10:33 | Clinton Stimpson | Status | assigned => resolved | ||||||||||||
| 2014-09-09 10:33 | Clinton Stimpson | Resolution | open => fixed | ||||||||||||
| 2015-03-02 08:57 | Robert Maynard | Note Added: 0038107 | |||||||||||||
| 2015-03-02 08:57 | Robert Maynard | Status | resolved => closed | ||||||||||||
| Notes | |||||
|  | |||||
| 
 | 
 | ||||
|  | |||||
| 
 | 
 | ||||
|  | |||||
| 
 | 
 | ||||