[CMake] CMake 2.2 dependency check skip

Alexander Neundorf a.neundorf-work at gmx.net
Thu Oct 20 02:44:16 EDT 2005


> Von: "Moreland, Kenneth" <kmorel at sandia.gov> 
>  
> I should be clearer, too.  It is the first and second parts that I want 
> to skip. 
>   
> I agree that skipping the third part makes no sense whatsoever.  I also 
> agree that by default the second part, and probably the first part, 
> should be included by default every time you run make.  Is skipping the 
> first part new to CMake 2.2?  I could have sworn that with CMake 2.0 I 
> was able to change CMakeLists.txt in a subdirectory and see the effect 
> by running make there. 
>   
> Anyway, 90% of the time when I run make, I have made just a little 
> change to a source file and I want to refresh the binaries.  Most of 
> the time I know that the dependencies have not changed so I don't want 
> to take the time to have my build system reconfigure them. 
>   
> Of course, the problems you bring up, Ken, are all valid.  This 
> argument of what dependency checks should be run could quickly turn 
> into a religious war.  That is why I'm all for your suggestion of the 
> all_nocheck/all_nodepend targets. 
 
I completely agree. 
By default all the checks should be included, as it is now. But it would 
be nice if there was a target to skip these checks. I'm not sure if it 
makes sense to provide two different flavours: all_nocheck and 
all_nodepend.  
So a "quick&dirty" target would be nice, and please make sure it is also 
easy to type (e.g. "nodep" and "nocheck", and please without "_") 
 
Bye 
Alex 
 

-- 
NEU: Telefon-Flatrate fürs dt. Festnetz! GMX Phone_Flat: 9,99 Euro/Mon.*
Für DSL-Nutzer. Ohne Providerwechsel! http://www.gmx.net/de/go/telefonie


More information about the CMake mailing list