Re: [CMake] EXECUTE_PROCESS and relative path

2009-12-20 Thread Philip Lowman
On Sun, Dec 20, 2009 at 10:53 AM, Steve Chu wrote: > Does EXECUTE_PROCESS support relative path to CMakeLists.txt file? > > Suppose we have this demo: > > EXECUTE_PROCESS( >  COMMAND /bin/cat ./xxx >  # WORKING_DIRECTORY /some/absolute/path > ) > > If we do not set WORKING_DIRECTORY to absolute pa

[CMake] EXECUTE_PROCESS and relative path

2009-12-20 Thread Steve Chu
Hi, all, Does EXECUTE_PROCESS support relative path to CMakeLists.txt file? Suppose we have this demo: EXECUTE_PROCESS( COMMAND /bin/cat ./xxx # WORKING_DIRECTORY /some/absolute/path ) If we do not set WORKING_DIRECTORY to absolute path, this command does not work. But I do not want to intr