[Cmake] adding a kdevelop generator

William A. Hoffman billlist at nycap.rr.com
Mon Sep 13 08:52:43 EDT 2004


I assume you mean the list of dependencies for a source file?
CMake defers dependency computation until make time.  So during
the generate step it does not have that list.  For large projects it
would make the generate stage very slow.   If you explicitly add
a .h file to a source list it will show up in the GetSourceFiles list.
That is how it done with Visual Studio.  The makefiles just ignore the
.h files.

 

-Bill


>Is there a way to get a list of used headerfiles for a specific target from
>within 
>cmake ? (something like cmTarget::GetSourceFiles() for headers) 
> 
>Bye 
>Alex 
> 
>
>-- 
>Supergünstige DSL-Tarife + WLAN-Router für 0,- EUR*
>Jetzt zu GMX wechseln und sparen http://www.gmx.net/de/go/dsl
>
>_______________________________________________
>Cmake mailing list
>Cmake at www.cmake.org
>http://www.cmake.org/mailman/listinfo/cmake 



More information about the Cmake mailing list