MantisBT - CMake | |||||||||||||||
View Issue Details | |||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||
0012960 | CMake | CMake | public | 2012-02-13 07:30 | 2014-10-06 10:32 | ||||||||||
Reporter | Dimitri Merejkowsky | ||||||||||||||
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 | 0012960: CMake should reject targets with reserved names like "test" | ||||||||||||||
Description | CMake error out when trying to installing a target named 'test' in enable_testing() is called | ||||||||||||||
Steps To Reproduce | Create a new project with the following CMakeLists.txt and an empty test.cpp file cmake_minimum_required(VERSION 2.8) project(cmake_bug) enable_testing() add_executable(test test.cpp) install(TARGETS test RUNTIME DESTINATION bin) Run CMake: WARNING: Target "test" has EXCLUDE_FROM_ALL set and will not be built by default but an install rule has been provided for it. CMake does not define behavior for this case. CMake Internal Error (please report a bug) in CMakeLists.txt: cmTarget::GetOutputInfo called for test which has type GLOBAL_TARGET | ||||||||||||||
Additional Information | |||||||||||||||
Tags | No tags attached. | ||||||||||||||
Relationships |
| ||||||||||||||
Attached Files | |||||||||||||||
Issue History | |||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||
2012-02-13 07:30 | Dimitri Merejkowsky | New Issue | |||||||||||||
2012-02-13 08:59 | Brad King | Note Added: 0028569 | |||||||||||||
2012-02-13 09:07 | Dimitri Merejkowsky | Note Added: 0028571 | |||||||||||||
2012-02-13 09:47 | Brad King | Status | new => backlog | ||||||||||||
2012-02-13 09:47 | Brad King | Summary | Cannot install a target named 'test' => CMake should reject targets with reserved names like "test" | ||||||||||||
2012-02-13 09:48 | Brad King | Relationship added | related to 0008438 | ||||||||||||
2012-02-13 09:49 | Brad King | Relationship added | related to 0006348 | ||||||||||||
2014-03-02 14:56 | Nils Gladitz | Note Added: 0035223 | |||||||||||||
2014-03-02 14:56 | Nils Gladitz | Status | backlog => resolved | ||||||||||||
2014-03-02 14:56 | Nils Gladitz | Resolution | open => fixed | ||||||||||||
2014-03-02 14:56 | Nils Gladitz | Assigned To | => Nils Gladitz | ||||||||||||
2014-10-06 10:32 | Robert Maynard | Note Added: 0036922 | |||||||||||||
2014-10-06 10:32 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|