[CMake] string replacement without external commands help (ex.sed)
Trevor Kellaway
tkellaway at asl-electronics.co.uk
Sat Aug 25 07:01:43 EDT 2007
Hi,
> Thank you Alan and Alexander. I am using configure_file() and
> it's fine now except that I have trouble to get the
> Makefile.am sed based rules to do replacement from something
> that looks like a variabile name but that's an issue for
> automake at gnu.org :)
Try using CONFIGURE_FILE's @ONLY option to workaround this:
"If @ONLY is specified, only variables of the form @VAR@ will be
replaces and ${VAR} will be ignored. "
- TrevK
More information about the CMake
mailing list