[CMake] Rename files during installation

Michael Biebl mbiebl at gmail.com
Mon Apr 10 05:35:07 EDT 2006


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.

Thanks in advance,
Michael


More information about the CMake mailing list