[CMake] Rename files during installation

Alexander Neundorf a.neundorf-work at gmx.net
Mon Apr 10 07:45:19 EDT 2006


> --- Ursprüngliche Nachricht --- 
> Von: "Michael Biebl" <mbiebl at gmail.com> 
> An: cmake at cmake.org 
> Betreff: [CMake] Rename files during installation 
> Datum: Mon, 10 Apr 2006 11:35:07 +0200 
>  
> Hi, 
>  
> I have two text files in one directory: 
> test.foo 
> test.bar 
> test.foo has to be installed as /dir/foo/test (test is the file name) 
> and test.bar to /dir/bar/test (test is the file name) 
> This means that both files have to be renamed during install. How can 
> I do that with INSTALL_FILES? It should run with CMake 2.2. 
 
Either use CONFIGURE_FILE() or I think it should work with the new 
INSTALL() command in 2.4 (or current cvs). 
 
Bye 
Alex 
 

-- 
GMX Produkte empfehlen und ganz einfach Geld verdienen!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner


More information about the CMake mailing list