[CMake] missing header files dependencies

Brad King brad.king at kitware.com
Thu Mar 3 15:22:37 EST 2005


Brad King wrote:
> Filipe Sousa wrote:
> 
>> Everytime I change some header file in my project, the source files 
>> that depends on those headers aren't compiled.
>>
>> I'm using CMake from CVS on linux that uses the new make file generator.
> 
> 
> It looks like the dependency scanner does not account for double-quoted 
> include files that are in the directory of the source file.  You can 
> work around the problem by adding the include directory:
> 
> INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
> 
> though it will be fixed soon anyway.

Okay, this is now fixed.

-Brad


More information about the CMake mailing list