cmake + configure_file + script perl
Brad King
brad.king at kitware.com
Tue Mar 14 14:59:56 CET 2006
Laurent Montel wrote:
> Hi,
> I must generate script perl from a configure_file.
> I have a lot of script perl where I must specify into some variable
> example:
> convert.pl.in
> into I must change $src=@kde_datadir@
> I change it with $src=${KD4_DATADIR}
>
> but as it's perl script I have a lot of "$<variable>"
> => cmake try to convert it.
>
> do you have an idea to convert it without try to convert other variable ?
Use the "@ONLY" option of the configure_file command.
-Brad
More information about the Kde-buildsystem
mailing list