View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015657 | CMake | CMake | public | 2015-07-21 07:16 | 2016-01-04 11:51 | ||||
Reporter | Erik Sjölund | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | CMake 3.4 | Fixed in Version | CMake 3.4 | ||||||
Summary | 0015657: cmTarget::GetOutputInfo called for mytarget which has type UTILITY (CMake Internal Error) | ||||||||
Description | I was experimenting with exporting. I don't know if the content of the CMakeLists.txt makes sense but CMake told me to report a bug: "CMake Internal Error (please report a bug)" Here is the content of the CMakeLists.txt file: cmake_minimum_required(VERSION 3.3) add_custom_command(OUTPUT empty.txt COMMAND touch empty.txt) add_custom_target(mytarget DEPENDS empty.txt) export(TARGETS mytarget FILE export.cmake) | ||||||||
Steps To Reproduce | The shell terminal session is attached as a file (terminal-output.txt). | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | terminal-output.txt [^] (3,549 bytes) 2015-07-21 07:16 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0039159) Brad King (manager) 2015-07-21 09:40 |
Thanks. Exporting custom targets is not allowed but clearly the case should be diagnosed without producing an internal error. |
(0039163) Brad King (manager) 2015-07-22 11:04 |
Fixed and test case added: export: Reject custom target exports earlier http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7e9f908e [^] |
(0040095) Robert Maynard (manager) 2016-01-04 11:51 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2015-07-21 07:16 | Erik Sjölund | New Issue | |
2015-07-21 07:16 | Erik Sjölund | File Added: terminal-output.txt | |
2015-07-21 09:40 | Brad King | Note Added: 0039159 | |
2015-07-22 11:04 | Brad King | Note Added: 0039163 | |
2015-07-22 11:04 | Brad King | Assigned To | => Brad King |
2015-07-22 11:04 | Brad King | Status | new => resolved |
2015-07-22 11:04 | Brad King | Resolution | open => fixed |
2015-07-22 11:04 | Brad King | Fixed in Version | => CMake 3.4 |
2015-07-22 11:04 | Brad King | Target Version | => CMake 3.4 |
2016-01-04 11:51 | Robert Maynard | Note Added: 0040095 | |
2016-01-04 11:51 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |