MantisBT - CMake | ||||||||||
| View Issue Details | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||
| 0003562 | CMake | CMake | public | 2006-07-31 14:09 | 2016-06-10 14:30 | |||||
| Reporter | Marcelo Santos | |||||||||
| Assigned To | Bill Hoffman | |||||||||
| Priority | low | Severity | minor | Reproducibility | always | |||||
| Status | closed | Resolution | moved | |||||||
| Platform | OS | OS Version | ||||||||
| Product Version | ||||||||||
| Target Version | Fixed in Version | |||||||||
| Summary | 0003562: error creating an alias for the test target | |||||||||
| Description | I believe the following commands should work: ADD_CUSTOM_TARGET( check ) ADD_DEPENDENCIES( check test ) but they don't. I was able to work around the problem by using: ADD_CUSTOM_TARGET( check COMMAND ctest DEPENDS foo_test ) as suggested by William Hoffman but I would have to put all tests in the depends clause. I believe the dependency/alias approach would make the code cleaner. | |||||||||
| Steps To Reproduce | ||||||||||
| Additional Information | ||||||||||
| Tags | No tags attached. | |||||||||
| Relationships |
| |||||||||
| Attached Files | ||||||||||
| Issue History | ||||||||||
| Date Modified | Username | Field | Change | |||||||
| 2007-08-31 11:28 | Alex Neundorf | Assigned To | System Admin => Bill Hoffman | |||||||
| 2011-02-08 12:29 | David Cole | Relationship added | related to 0004565 | |||||||
| 2016-06-10 14:27 | Kitware Robot | Note Added: 0041314 | ||||||||
| 2016-06-10 14:27 | Kitware Robot | Status | assigned => resolved | |||||||
| 2016-06-10 14:27 | Kitware Robot | Resolution | open => moved | |||||||
| 2016-06-10 14:30 | Kitware Robot | Status | resolved => closed | |||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||