MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013146 | CMake | CMake | public | 2012-04-19 03:56 | 2012-09-03 16:01 |
Reporter | Christoph Pramberger | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | Linux | OS | Ubuntu | OS Version | 12.04 |
Product Version | CMake 2.8.7 | ||||
Target Version | Fixed in Version | ||||
Summary | 0013146: ADD_CUSTOM_COMMAND has no OUTPUT / RESULT Variable | ||||
Description | Hello! I want to run a command directly after the target is built. In the documentation I found the "add_custom_command" with the parm "POST_BUILD". It works fine, but I have one problem with this command, I do not know if the command was executed correctly. To get this information I would need a RESULT_VARIALBE like that one in "execute_process". add_custom_command(OUTPUT output1 [output2 ...] COMMAND command1 [ARGS] [args1...] [COMMAND command2 [ARGS] [args2...] ...] [MAIN_DEPENDENCY depend] [DEPENDS [depends...]] [IMPLICIT_DEPENDS <lang1> depend1 ...] [WORKING_DIRECTORY dir] [COMMENT comment] [VERBATIM] [APPEND]) execute_process(COMMAND <cmd1> [args1...]] [COMMAND <cmd2> [args2...] [...]] [WORKING_DIRECTORY <directory>] [TIMEOUT <seconds>] [RESULT_VARIABLE <variable>] [OUTPUT_VARIABLE <variable>] [ERROR_VARIABLE <variable>] [INPUT_FILE <file>] [OUTPUT_FILE <file>] [ERROR_FILE <file>] [OUTPUT_QUIET] [ERROR_QUIET] [OUTPUT_STRIP_TRAILING_WHITESPACE] [ERROR_STRIP_TRAILING_WHITESPACE]) Is there any possibility to get this information, if not you can see this report as feature request. Thank you very much | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-04-19 03:56 | Christoph Pramberger | New Issue | |||
2012-04-19 06:20 | David Cole | Note Added: 0029226 | |||
2012-04-19 07:56 | Brad King | Note Added: 0029231 | |||
2012-04-19 07:56 | Brad King | Status | new => resolved | ||
2012-04-19 07:56 | Brad King | Resolution | open => no change required | ||
2012-04-19 07:56 | Brad King | Assigned To | => Brad King | ||
2012-04-19 07:56 | Brad King | Assigned To | Brad King => | ||
2012-09-03 16:01 | David Cole | Note Added: 0030857 | |||
2012-09-03 16:01 | David Cole | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|