|
(0033851)
|
|
Rob Stewart
|
|
2013-09-19 14:14
|
|
Ah, yes, you're right. I probably scanned add_definitions()'s paragraph when I thought the references were missing! Anyway, that text could be clearer. Perhaps the following would be good:
"To create a new target on which an existing target depends, use ADD_CUSTOM_TARGET(). To create a dependency on a file generated by a command, or to run a command before or after a target builds, use ADD_CUSTOM_COMMAND()."
I'd also suggest that it appear earlier in the description. That's a good idea for all related commands. That is, give a brief description in the first paragraph, mention any alternatives and reasons for choosing them instead in a second paragraph, then in the third and subsequent paragraphs, provide the details. |
|