[Cmake-commits] [cmake-commits] king committed cmake.cxx 1.404 1.405

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Feb 6 11:49:03 EST 2009


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv13909/Source

Modified Files:
	cmake.cxx 
Log Message:
BUG: Fix OS X FW symlink byproduct dependencies

When testing whether to re-run CMake, a byproduct may be a symlink.  If
so, the existence of the link is important rather than the link's
target.  See issue #8465.


Index: cmake.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmake.cxx,v
retrieving revision 1.404
retrieving revision 1.405
diff -C 2 -d -r1.404 -r1.405
*** cmake.cxx	6 Feb 2009 16:18:56 -0000	1.404
--- cmake.cxx	6 Feb 2009 16:49:00 -0000	1.405
***************
*** 2667,2671 ****
        pi != products.end(); ++pi)
      {
!     if(!cmSystemTools::FileExists(pi->c_str()))
        {
        if(verbose)
--- 2667,2672 ----
        pi != products.end(); ++pi)
      {
!     if(!(cmSystemTools::FileExists(pi->c_str()) ||
!          cmSystemTools::FileIsSymlink(pi->c_str())))
        {
        if(verbose)



More information about the Cmake-commits mailing list