[prev in list] [next in list] [prev in thread] [next in thread]
List: cmake
Subject: Re: [Cmake] depend changes in makefile
From: "William A. Hoffman" <bill.hoffman () kitware ! com>
Date: 2001-12-30 0:35:42
Message-ID: 5.0.2.1.0.20011229193344.02ddb768 () pop ! nycap ! rr ! com
[Download RAW message or body]
We have come up with a less brute force approach to this problem.
Each depend and source file now has a rule that can run make depend. This
means
that the depends should always be up-to-date now.
-Bill
At 09:01 AM 12/21/2001 -0500, Bill Hoffman wrote:
>In an effort to avoid errors where make fails because depends are stale,
>we have taken
>a bit of a brute force approach to fixing the problem.
>
>If a Makefile needs to be regenerated for any reason. (a source cmakelist
>file or the cache has changed).
>If you run make, the first thing it will do is cd to the top of your
>project and run make depend.
>
>The problem is this:
>
>DirA/Afile.cxx
>DirB/Bfile.cxx // includes Afile.h
>
>
>If I change the list file in DirA, and remove Afile.[cxx|h] from the build,
>DirB will have re-run make depend, or the make will fail because it will
>have a depend
>to Afile.h that no longer exists.
>
>-Bill
>
>_______________________________________________
>Cmake mailing list
>Cmake@public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic