MantisBT - CMake
View Issue Details
0005203CMakeDocumentationpublic2007-06-18 10:312016-06-10 14:30
Brandon Van Every 
Bill Hoffman 
lowtextalways
closedmoved 
 
 
0005203: a custom COMMAND cannot be a CMake scripting command
Both ADD_CUSTOM_COMMAND and ADD_CUSTOM_TARGET do not define what kind of COMMAND can be used. Users often think they can use a CMake scripting command, but this is incorrect. COMMAND in this context is something that can be executed on a command line. Documenting this would help newbies with their learning curve.
No tags attached.
Issue History
2007-08-09 14:26Brandon Van EverySeverityminor => text
2007-08-09 14:26Brandon Van EveryStatusnew => assigned
2007-08-09 14:26Brandon Van EveryCategory => Test Category
2007-08-24 09:19Alex NeundorfNote Added: 0008640
2007-08-24 09:19Alex NeundorfCategoryCMake => Documentation
2015-06-07 15:45Peter WuNote Added: 0038889
2016-06-10 14:27Kitware RobotNote Added: 0041371
2016-06-10 14:27Kitware RobotStatusassigned => resolved
2016-06-10 14:27Kitware RobotResolutionreopened => moved
2016-06-10 14:30Kitware RobotStatusresolved => closed

Notes
(0008043)
Alex Neundorf   
2007-07-12 11:09   
Duplicate of 0003604
(0008044)
Alex Neundorf   
2007-07-12 11:10   
The duplicate is still open, no need to have it twice.
(0008053)
Brandon Van Every   
2007-07-12 12:05   
Documenting current behavior is not the same issue as implementing new behavior. If 0003604 were implemented, then this content bug would be obsolete. But 0003604 has not been implemented. It would be quite a bit less effort to simply document what the current behavior actually is.
(0008640)
Alex Neundorf   
2007-08-24 09:19   
Related to 3604.
(0038889)
Peter Wu   
2015-06-07 15:45   
From the v3.2 manual: "Specify the command-line(s) to execute at build time."

"command-line" seems clear enough to me with no confusion with cmake expressions. Can this "bug" be closed then?
(0041371)
Kitware Robot   
2016-06-10 14:27   
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.