View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014427CMakeDocumentationpublic2013-09-19 15:502016-06-10 14:31
ReporterRob Stewart 
Assigned ToKitware Robot 
PrioritynormalSeveritytextReproducibilityN/A
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake 2.8.11 
Target VersionFixed in Version 
Summary0014427: SET_SOURCE_FILES_PROPERTIES() Documentation Unclear
DescriptionThe documentation doesn't make clear that it replaces the existing property values with those being set, presuming I interpret its behavior correctly. That is, "set" implies the current value is replaced (as opposed to "add"). What's more, the syntax for multiword values is left to be inferred. Therefore, I suggest the wording below.

I took the liberty of reformatting the signature, too. I think repetition is better rendered as shown. You can refer to "name" and "value" generically in the text (possibly with notation like <name> to highlight a parameter reference) without resorting to enumerating all variations in the signature.

set_source_files_properties: Sets properties that affect how certain source files are built.

  set_source_files_properties([file [file [...]]]
                              PROPERTIES name value [name value [...]])

Properties can be set on the multiple source files. PROPERTIES expects one or more property name/value pairs. This means that when <value> contains multiple word, it must be quoted. Unknown property names are ignored silently. Refer to the properties documentation for those known to CMake.

NOTE: Source file properties are visible only to targets added in the same (CMAKE_CURRENT_LIST_DIR) directory.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0042370)
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.

 Issue History
Date Modified Username Field Change
2013-09-19 15:50 Rob Stewart New Issue
2016-06-10 14:29 Kitware Robot Note Added: 0042370
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


Copyright © 2000 - 2018 MantisBT Team