The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14802 
====================================================================== 
Reported By:                Gregor Jasny
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14802
Category:                   CMake
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-03-10 16:06 EDT
Last Modified:              2014-03-10 16:06 EDT
====================================================================== 
Summary:                    Add option to find_library to invalidate cache if
hints or paths have changed
Description: 
Hello,

in our build system we read the version of precompiled libraries with cmake from
a file. This version and a well-known path suffix form the PATH attribute of the
find_library (and similar) command.
But if the version is gets changed, cmake will be still using the cached entry.

My proposal is to add a parameter that changes the behaviour: Once the hints /
paths, etc. to the find_library call changes, the cached result will be purged.

Currently I'm using a self-written function to achieve this behaviour but I
think it is generic and useful enough to have it provided within cmake itself.

Thanks,
Gregor
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-03-10 16:06 Gregor Jasny   New Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to