[cmake-developers] [CMake 0014579]: Dependency check mechanism ignores deleted header files
Mantis Bug Tracker
mantis at public.kitware.com
Mon Nov 18 05:37:05 EST 2013
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=14579
======================================================================
Reported By: Adrien Bruneton
Assigned To:
======================================================================
Project: CMake
Issue ID: 14579
Category: CMake
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2013-11-18 05:37 EST
Last Modified: 2013-11-18 05:37 EST
======================================================================
Summary: Dependency check mechanism ignores deleted header
files
Description:
On Fedora 18, CMake 2.8.10.2, using the default "Unix Makefile" generator, CMake
improperly detects the removal (or update) of a C++ header file when it has been
manipulated (see below steps to reproduce).
This leads to CMake wrongly believing the project is up-to-date, when it fact
some source files have been modified.
Steps to Reproduce:
The attached archive provides two files:
simple.cxx, which includes:
simple.hxx (no functional content)
Untar the attached archive. Go to the directory. Then execute:
> mkdir BUILD && cd BUILD
> cmake .. && make
> mv ../src/simple.hxx ../src/simple.OLD
> make
----> ERROR (as expected)
> mv ../src/simple.OLD ../src/simple.hxx
> make
----> OK! (as expected)
> mv ../src/simple.hxx ../src/simple.OLD
----> No dependency scanning, no update, no reconstruction!! The build
(wrongly) succeeds.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-11-18 05:37 Adrien BrunetonNew Issue
2013-11-18 05:37 Adrien BrunetonFile Added: dep_bug.tar.gz
======================================================================
More information about the cmake-developers
mailing list