View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015199 | CMake | CMake | public | 2014-10-09 05:11 | 2016-06-10 14:31 | ||||
Reporter | Nico Schlömer | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake 2.8.12.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015199: Better error message for export conflicts | ||||||||
Description | If an export target depends on another target, that other target must either be * in the same export set, or * in exactly one other export set. If it is not in the same export set and in more than one other export set, CMake reports ``` CMake Error: install(EXPORT "A" ...) includes target "b" which requires target "c" that is not in this export set, but 5 times in others. ``` This error message is somewhat misleading; one could think that "c" must be in the same export set as "b". Perhaps a less ambiguous wording would be: ``` CMake Error: install(EXPORT "A" ...) includes target "b" which requires target "c" that is * not in this export set, and * in more than one other export set (5). ``` I'm sure we can do even better than that. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0037012) Brad King (manager) 2014-10-09 08:38 |
Thanks for pointing this out. The ComplainAboutMissingTarget methods house these messages: http://www.cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmExportBuildFileGenerator.cxx;hb=v3.0.2#l288 [^] http://www.cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmExportInstallFileGenerator.cxx;hb=v3.0.2#l511 [^] Your proposed wording is better. |
(0042644) Kitware Robot (administrator) 2016-06-10 14:29 |
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 |
2014-10-09 05:11 | Nico Schlömer | New Issue | |
2014-10-09 08:38 | Brad King | Note Added: 0037012 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042644 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |