[CMake] Changing a name of a file to install

Leopold Palomo Avellaneda leo at alaxarxa.net
Thu May 1 19:55:48 EDT 2008


A Divendres 02 Maig 2008, Leopold Palomo Avellaneda va escriure:
> Hi,
>
> I would like to install a foo.txt file but with a different name, for
> example foo-en.txt.
>
> How can I do it?
>
> Regards,
>
> Leo

I answer to myself.

RTFM!!!!

install (FILES foo.txt DESTINATION share/ RENAME foo-en.txt)

Sorry for the noise.

Leo

-- 
--
Linux User 152692
PGP: 0xF944807E
Catalonia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080502/7505687a/attachment.pgp>


More information about the CMake mailing list