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
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake