[CMake] Escape characters in ARGS of ADD_CUSTOM_COMMAND

Wang, Huyi (GE Healthcare) Huyi.Wang at ge.com
Thu Dec 18 16:59:25 EST 2008


I want to use sed to modify and create a file like:
 
sed -e 's/\(^#include[ \t]*"\)(.*"[ \t]*$\)/\1autogen_include\/\2/g' original_file new_file
 
Seems ADD_CUSTOM_COMMAND can't accept this kind of regularexp as the ARGS.
 
Thanks and regards,
Huyi Wang
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081219/5aab5f05/attachment.htm>


More information about the CMake mailing list