[CMake] dependency checking

Juan Sanchez Juan.Sanchez at amd.com
Thu Aug 9 13:13:48 EDT 2007


I just added a source file to the list of sources in my library and now
it is recompiling every source file in that library.  I don't feel
rebuilding the other source files is necessary and I'd like a way to
tell cmake to trust me and that any object files I have are still good.


Regards,

Juan


Alexander Neundorf wrote:
> On Thursday 09 August 2007 12:57, Juan Sanchez wrote:
>> I've been trying to find a good explanation of how the "/fast" target
>> works online?  Is there a place where the exact behavior documented?
>>
>> Also my concern is that adding a source file to CMakeLists.txt file
>> triggers a rebuild of all source files?  Can this be averted by having
> 
> No, it doesn't.
> You really only get rebuilds if they are required (e.g. if a header changes or 
> if some compile flag is changed).
> 
> Bye
> Alex
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
> 
> 


-- 
Juan Sanchez
Juan.Sanchez at amd.com
800-538-8450 Ext. 54395
512-602-4395




More information about the CMake mailing list