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 ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
