[cmake-developers] [CMake 0012385]: Dependencies of check_*_source_compiles are not tracked

Mantis Bug Tracker mantis at public.kitware.com
Wed Aug 3 06:55:13 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12385 
====================================================================== 
Reported By:                simonh
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12385
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-08-03 06:55 EDT
Last Modified:              2011-08-03 06:55 EDT
====================================================================== 
Summary:                    Dependencies of check_*_source_compiles are not
tracked
Description: 
It would be useful if the text/source being tested were scanned for
dependencies. At the moment, if the header files used by the test source change,
there is no re-run of the test.

Attached is an example, very simple project, whose successful build depends on a
certain header "VERSION" macro. This is correctly tested initially, but if the
contents of that header file change (e.g. to #define HEADER 100), the CMake
configuration is not re-run.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-07-25 14:00 Dominique BelhachemiChangeset attached        => VTK master
b7dde9bb
2011-07-25 14:00 David Partyka  Changeset attached        => VTK master 06385b75
2011-08-03 06:55 simonh         New Issue                                    
2011-08-03 06:55 simonh         File Added: check_test.tar.gz                   

======================================================================




More information about the cmake-developers mailing list