我需要执行add_custom_command一个捕获其标准输出的命令.shell重定向到文件>不起作用,add_custom_command并且没有任何相关选项.我该怎么做?
add_custom_command
>
cmake
cmake ×1