[Cmake] COnfigure_file

Bill Hoffman bill . hoffman at kitware . com
Thu, 12 Jun 2003 09:17:59 -0400


It should work for binary files.   We often copy images in some of our applications.
If it is not working it is a bug.   What version of cmake, and how was it built?
If you built/modified cmake, I would suggest trying the pre-compiled binary from Kitware,
and running a small test case that copies your binary file with CONFIGURE_FILE.

-Bill



At 08:57 AM 6/12/2003, John Biddiscombe wrote:

>Does CONFIGURE_FILE(input output COPYONLY) work correctly on binary files or only text stuff. I want to initialize a directory by copying some binaries into it but they seem to be getting munged.
>
>I am expecting someone to tell me to create a custom target and custom command bound to the target to achieve this, but I don't like the bloat in the ide caused by tons of additional targets. so I'm trying to avoid it by using configure...
>
>thanks
>
>JB
>_______________________________________________
>Cmake mailing list
>Cmake at public . kitware . com
>http://public . kitware . com/mailman/listinfo/cmake