[CMake] INSTALL TARGETS modifies files on some platforms.

Magnus Sirwiö sirwio at hotmail.com
Sun Nov 11 17:02:33 EST 2007


Hi,

I have notices strange behavior when using the  INSTALL rule with the TARGETS signature as shown below:

INSTALL ( TARGETS setuptool DESTINATION .)

On some platforms the file copy of the above rule modifies the size of the file.
>ls -l bin/setuptool install/setuptool

-rwxrwxr-x  1 bbb ccusers 1412042 2007-11-11 20:27 bin/setuptool*

-rwxr-xr-x  1 bbb ccusers 1412010 2007-11-11 21:26 install/setuptool*


This can be observed on the following platforms.

Linux 32bit - RHEL 3
cmake version 2.4-patch 3
bbb at lx001 >uname -a

Linux lx001 2.4.21-47.ELsmp #1 SMP Wed Jul 5 20:38:41 EDT 2006 i686 i686 i386 GNU/Linux


Linux x86_64 - SLES-9
cmake version 2.4-patch 6

bbb at lx003 >uname -a

Linux lx003 2.6.5-7.286-smp #1 SMP Thu May 31 10:12:58 UTC 2007 x86_64 x86_64 x8 6_64 GNU/Linux

Solaris 8
cmake version 2.4-patch 7

bbb at ss009 >uname -a
SunOS ss009 5.8 Generic_117350-33 sun4u sparc SUNW,Ultra-4

Files are copied unmodified on the following platforms:
Windows XP, AIX 5.1,  HP-UX 11.11

What is the cause of this.

- Magnus



_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20071111/ecb024b2/attachment.html


More information about the CMake mailing list