View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014424CMakeDocumentationpublic2013-09-19 13:242014-03-05 09:58
ReporterRob Stewart 
Assigned ToBrad King 
PrioritynormalSeveritytextReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.11 
Target VersionCMake 3.0Fixed in VersionCMake 3.0 
Summary0014424: Vague ADD_DEPENDENCIES() Description
DescriptionThe current description doesn't clarify the direction of the dependencies being specified. I suggest the following wording, assuming I understand the command correctly:

add_dependencies: Add a dependency between top-level targets.

  add_dependencies(target-name depend-target1
                   depend-target2 ...)

Makes target-name depend on the other listed targets, so it must build before the others. All of the targets must be top-level targets, which means they all must have been created by ADD_EXECUTABLE, ADD_LIBRARY, or ADD_CUSTOM_TARGET.

Dependencies added to an IMPORTED target are followed transitively in its place since the target itself does not build. See the DEPENDS option of ADD_CUSTOM_TARGET and ADD_CUSTOM_COMMAND for adding file-level dependencies in custom rules. See the OBJECT_DEPENDS option in SET_SOURCE_FILES_PROPERTIES to add file-level dependencies to object files.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0033850)
Brad King (manager)
2013-09-19 14:14

Fixed, thanks:

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1bdac7d5 [^]
(0035262)
Robert Maynard (manager)
2014-03-05 09:58

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

 Issue History
Date Modified Username Field Change
2013-09-19 13:24 Rob Stewart New Issue
2013-09-19 14:14 Brad King Note Added: 0033850
2013-09-19 14:14 Brad King Assigned To => Brad King
2013-09-19 14:14 Brad King Status new => resolved
2013-09-19 14:14 Brad King Resolution open => fixed
2013-09-19 14:14 Brad King Fixed in Version => CMake 3.0
2013-09-19 14:14 Brad King Target Version => CMake 3.0
2014-03-05 09:58 Robert Maynard Note Added: 0035262
2014-03-05 09:58 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team