[CMake] echo in execute_process

Tyler Roscoe tyler at cryptio.net
Tue Dec 28 11:25:02 EST 2010


On Fri, Dec 24, 2010 at 04:19:16AM +0000, luxInteg wrote:
> in an execute_process() function with ${ECHO}  (/bin/echo)    what does one 
> set for WORKING_DIRECTORY?

1. I would use ${CMAKE_COMMAND} -E echo rather than /bin/echo.

2. I would not set WORKING_DIRECTORY unless I needed it for some reason.
If I needed it, wouldn't it be pretty obvious which directory to use?

tyler


More information about the CMake mailing list