[cmake-developers] [CMake 0012083]: configure_file destroys bmp

Mantis Bug Tracker mantis at public.kitware.com
Thu Apr 14 06:46:08 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12083 
====================================================================== 
Reported By:                Benjamin Schindler
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12083
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   urgent
Status:                     new
====================================================================== 
Date Submitted:             2011-04-14 06:46 EDT
Last Modified:              2011-04-14 06:46 EDT
====================================================================== 
Summary:                    configure_file destroys bmp
Description: 
I'm trying to copy the attached file using configure_file, but it gets
corrupted. 
The resulting files just has 9 bytes or so

Steps to Reproduce: 
Run 
CONFIGURE_FILE(${file} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/assets/${file}
COPY_ONLY)

on the attached file

Additional Information: 
tested on linux and windows 7 - same behaviour
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-14 06:46 Benjamin SchindlerNew Issue                                    
2011-04-14 06:46 Benjamin SchindlerFile Added: Font.bmp                         
======================================================================




More information about the cmake-developers mailing list