| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| 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. | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | ||||||
|
||||||
| Relationships |
| Notes | |
|
(0005384) System Admin (reporter) 2006-10-12 15:02 |
The problem is that test is global target and there is no interface to global targets in CMake language yet. This may be 2.6 feature. |
|
(0041314) Kitware Robot (administrator) 2016-06-10 14:27 |
Resolving issue as `moved`. 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. |
| Notes |
| 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 |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |