[cmake-developers] [CMake 0013507]: .rc file not recompiled when included header is changed

Mantis Bug Tracker mantis at public.kitware.com
Sat Sep 1 18:36:37 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13507 
====================================================================== 
Reported By:                Denis Pesotsky
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13507
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-09-01 23:36 WAT
Last Modified:              2012-09-01 23:36 WAT
====================================================================== 
Summary:                    .rc file not recompiled when included header is
changed
Description: 
I've got .rc file with Windows executable version information that has custom
include (#include <../src/version.h>) and is used in "add_executable()".
Definitions from version.h are used inside it.

It compiles and works well, but if I change version.h and run make again, it
doesn't recompile .rc file, so generated executable still has old ,rc compiled
in and therefole old version information. So I'm forced to run make clean and
make to create up-to-date executable.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-09-01 23:36 Denis Pesotsky New Issue                                    
2012-09-01 23:36 Denis Pesotsky File Added: win_resources.rc                    
======================================================================




More information about the cmake-developers mailing list