[CMake] string replacement without external commands help (ex. sed)

Dizzy dizzy at roedu.net
Wed Aug 22 05:47:23 EDT 2007


On Tuesday 21 August 2007 19:23:09 Alan W. Irwin wrote:
> Seconded.  CONFIGURE_FILE() properly handles the dependency of project.conf
> on the template file project.conf.in configure_file() which addresses your
> above dependency concern.  Try CONFIGURE_FILE(), and you will like it.

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 :)


-- 
Mihai RUSU					Email: dizzy at roedu.net
			"Linux is obsolete" -- AST


More information about the CMake mailing list