[cmake-developers] [CMake 0012617]: codeblocks project file not updated when cmakelists.txt change

Mantis Bug Tracker mantis at public.kitware.com
Sat Dec 10 05:52:51 EST 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=12617 
====================================================================== 
Reported By:                Benjamin Schindler
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12617
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-12-10 05:52 EST
Last Modified:              2011-12-10 05:52 EST
====================================================================== 
Summary:                    codeblocks project file not updated when
cmakelists.txt change
Description: 
I use qt-creator for working on my projects. The way qt-creator integration
works is by generating a codeblocks project file and using that to build its
project tree. 

The problem happens as soon I add files to my project. I create them, add them
to cmakelists and press build, but in qt-creator the files won't appear. I then
figured that the cbp files is not updated. If I do so manually by running cmake
-G "CodeBlocks - Unix Makefiles", the files appear in qtcreator. 

Therefore, when if make forces cmake to rerun, it should rebuild the project
file. 

Steps to Reproduce: 
create a dummy project
run cmake -G "CodeBlocks..."
run make
add a file to cmake
run make
check that the timestamp of project.cbp remained unchanged

Additional Information: 
I set this bug to major as in my experience, the qt-creator/cmake combination is
quite popular and I was not the only person complaining about this
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-12-10 05:52 Benjamin SchindlerNew Issue                                    
======================================================================




More information about the cmake-developers mailing list