View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012588CMake(No Category)public2011-11-22 09:092015-03-16 14:27
ReporterStephen Kelly 
Assigned ToStephen Kelly 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionCMake 2.8.10Fixed in VersionCMake 2.8.10 
Summary0012588: install(EXPORTS) does not work well with dependencies
DescriptionIn KDE we're starting to use install(EXPORTS) and config files. We are building libraries with dependencies on one another which are in different export sets.

Different export sets are needed to create different Targets files, which can be included in different Config files. If the attached example were more complete, there would be a oneConfig.cmake which includes oneDeps.cmake, and a twoConfig.cmake which includes twoDeps.cmake.

At cmake time we get this error:

CMake Error: INSTALL(EXPORT "twoDeps" ...) includes target "libtwo" which requires target "libone" that is not in the export set.

How can we resolve this?

TagsNo tags attached.
Attached Filesgz file icon install_exports.tar.gz [^] (8,156 bytes) 2011-11-22 09:09

 Relationships

  Notes
(0027848)
Brad King (manager)
2011-11-22 09:26

The command works exactly as intended. We do not currently support multiple dependent exports in one build tree. Please bring this up on the developers list for discussion.
(0028636)
Brad King (manager)
2012-02-19 10:04

Discussion from mailing list:

  http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/2285/focus=2299 [^]
  http://www.cmake.org/pipermail/cmake-developers/2011-November/002597.html [^]

  http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/2833/focus=3016 [^]
  http://www.cmake.org/pipermail/cmake-developers/2012-February/003330.html [^]
(0031617)
Stephen Kelly (developer)
2012-11-20 05:37

Should this be closed now that CMake 2.8.10 is out?
(0031618)
Brad King (manager)
2012-11-20 07:59

Yes, thanks!
(0032872)
Robert Maynard (manager)
2013-04-17 08:54

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2011-11-22 09:09 Stephen Kelly New Issue
2011-11-22 09:09 Stephen Kelly File Added: install_exports.tar.gz
2011-11-22 09:26 Brad King Note Added: 0027848
2011-11-22 09:26 Brad King Status new => resolved
2011-11-22 09:26 Brad King Resolution open => suspended
2011-11-22 09:26 Brad King Assigned To => Brad King
2012-02-19 10:04 Brad King Note Added: 0028636
2012-02-19 10:04 Brad King Status resolved => feedback
2012-02-19 10:04 Brad King Resolution suspended => reopened
2012-02-19 10:04 Brad King Assigned To Brad King =>
2012-02-19 10:04 Brad King Status feedback => backlog
2012-11-20 05:37 Stephen Kelly Note Added: 0031617
2012-11-20 07:59 Brad King Note Added: 0031618
2012-11-20 07:59 Brad King Assigned To => Stephen Kelly
2012-11-20 07:59 Brad King Status backlog => resolved
2012-11-20 07:59 Brad King Resolution reopened => fixed
2012-11-20 07:59 Brad King Fixed in Version => CMake 2.8.10
2012-11-20 07:59 Brad King Target Version => CMake 2.8.10
2013-04-17 08:54 Robert Maynard Note Added: 0032872
2013-04-17 08:54 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team