MantisBT - CMake | ||||||||||
| View Issue Details | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||
| 0013170 | CMake | CMake | public | 2012-04-25 15:47 | 2014-10-06 10:32 | |||||
| Reporter | Daniel Franke | |||||||||
| Assigned To | Nils Gladitz | |||||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||||
| Status | closed | Resolution | fixed | |||||||
| Platform | OS | OS Version | ||||||||
| Product Version | ||||||||||
| Target Version | Fixed in Version | |||||||||
| Summary | 0013170: add_executable(test) & ENABLE_TESTING | |||||||||
| Description | Reduced testcase: $ cat test.c int main() {} $ cat CMakeLists.txt cmake_minimum_required (VERSION 2.6) project (foo C) add_executable(test test.c) ENABLE_TESTING () $ mkir build; cd build; cmake .. [...] $ make [nothing happens] Apparently the "test" target defined by ENABLE_TESTING nullifies any user-defined test target. Inexperienced users that only want to quickly, you know, test something, may end up hitting a wall with this ... Maybe a developer warning on ENABLE_TESTING() that there already is a 'test' target and that it will be disabled would be nice? | |||||||||
| Steps To Reproduce | ||||||||||
| Additional Information | ||||||||||
| Tags | No tags attached. | |||||||||
| Relationships |
| |||||||||
| Attached Files | ||||||||||
| Issue History | ||||||||||
| Date Modified | Username | Field | Change | |||||||
| 2012-04-25 15:47 | Daniel Franke | New Issue | ||||||||
| 2012-04-25 16:05 | Eric NOULARD | Note Added: 0029343 | ||||||||
| 2012-04-26 08:15 | Brad King | Relationship added | related to 0008438 | |||||||
| 2012-04-26 08:16 | Brad King | Note Added: 0029348 | ||||||||
| 2012-04-26 08:16 | Brad King | Status | new => backlog | |||||||
| 2014-03-02 14:58 | Nils Gladitz | Note Added: 0035224 | ||||||||
| 2014-03-02 14:58 | Nils Gladitz | Status | backlog => resolved | |||||||
| 2014-03-02 14:58 | Nils Gladitz | Resolution | open => fixed | |||||||
| 2014-03-02 14:58 | Nils Gladitz | Assigned To | => Nils Gladitz | |||||||
| 2014-10-06 10:32 | Robert Maynard | Note Added: 0036923 | ||||||||
| 2014-10-06 10:32 | Robert Maynard | Status | resolved => closed | |||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||