MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010438 | CMake | CMake | public | 2010-03-18 08:24 | 2011-05-02 14:46 |
| Reporter | Lysius | ||||
| Assigned To | David Cole | ||||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | closed | Resolution | no change required | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | CMake 2.8.4 | |||
| Summary | 0010438: provide variables PROJECT_RELATIVE_DIR and [Project name]_RELATIVE_DIR | ||||
| Description | While looping through the subdirectories of my project, I frequently needed the relative path of the current directory relative to the main project directory. I'm using string(REPLACE "${PROJECT_SOURCE_DIR}/" "" PROJECT_RELATIVE_DIR "${CMAKE_CURRENT_SOURCE_DIR}") at the moment, but I would be pleased if this variable was provided by default (together with [Project name]_RELATIVE_DIR). | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2010-03-18 08:24 | Lysius | New Issue | |||
| 2011-01-17 13:19 | David Cole | Assigned To | => David Cole | ||
| 2011-01-17 13:19 | David Cole | Status | new => assigned | ||
| 2011-01-17 13:33 | David Cole | Note Added: 0024782 | |||
| 2011-01-17 13:33 | David Cole | Status | assigned => resolved | ||
| 2011-01-17 13:33 | David Cole | Fixed in Version | => CMake 2.8.4 | ||
| 2011-01-17 13:33 | David Cole | Resolution | open => no change required | ||
| 2011-05-02 14:46 | David Cole | Note Added: 0026344 | |||
| 2011-05-02 14:46 | David Cole | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||