summaryrefslogtreecommitdiffstats
path: root/Source/cmAddCustomCommandCommand.h
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2002-04-11 14:05:47 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2002-04-11 14:05:47 (GMT)
commit9b8926925b2c50afff276d25a5ee6eadd31ec477 (patch)
treefc5dda815f4e6a00d8dfe3ada5aa6f6bfe1c4b25 /Source/cmAddCustomCommandCommand.h
parente455a83969be5ff4642a9c505f2f1c23248b01f7 (diff)
downloadCMake-9b8926925b2c50afff276d25a5ee6eadd31ec477.zip
CMake-9b8926925b2c50afff276d25a5ee6eadd31ec477.tar.gz
CMake-9b8926925b2c50afff276d25a5ee6eadd31ec477.tar.bz2
ENH: use target as source if source is empty
Diffstat (limited to 'Source/cmAddCustomCommandCommand.h')
-rw-r--r--Source/cmAddCustomCommandCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmAddCustomCommandCommand.h b/Source/cmAddCustomCommandCommand.h
index f65d0aa..5f73aec 100644
--- a/Source/cmAddCustomCommandCommand.h
+++ b/Source/cmAddCustomCommandCommand.h
@@ -86,7 +86,7 @@ public:
virtual const char* GetFullDocumentation()
{
return
- "ADD_CUSTOM_COMMAND(SOURCE source COMMAND command TARGET target "
+ "ADD_CUSTOM_COMMAND([SOURCE source] COMMAND command TARGET target "
"[ARGS [args...]] [DEPENDS [depends...]] [OUTPUTS [outputs...]])\n"
"Add a custom command.";
}