The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15199 
====================================================================== 
Reported By:                Nico Schlömer
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15199
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-10-09 05:11 EDT
Last Modified:              2014-10-09 05:11 EDT
====================================================================== 
Summary:                    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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-10-09 05:11 Nico Schlömer  New Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to