Can I echo the command string executed by 'execute_process'?

Viewed 184

I have a CMake script that creates a command string and runs it with execute_process. But, some of the parameters are not getting filled in properly. Is there a way to print the actual command string that is getting executed?

There is a message call just above it which shows what the command should be but when I run that string on the command line, it works fine while the CMake execute_process fails.

1 Answers
Related