I guess what I am asking is - if I modified my build script to generate a
text file (Makefile, CMakeLists.txt or whatever) containing the
dependencies, would CMake be able to use it? I know that with GNU makefiles
there is a way to generate additional makefiles as part of the build process
(although it is rather complex and clumsy), I wonder if CMake can support
something similar?

2009/12/30 Alexander Neundorf <a.neundorf-w...@gmx.net>

> On Wednesday 30 December 2009, Talin wrote:
> > What's the recommended way in CMake to do automated dependency generation
> > for languages that aren't directly supported by CMake? Suppose my
> compiler
> > generates an output file which contains a list of all the source files
> that
> > were used to make it, and I have some tool that can extract this
> > information. Is there some way I can get CMake to use this information in
> > subsequent builds?
>
> The supported languages (C/C++, Fortran, somewhat Java and asm) have
> built-in
> C++ code for that in CMake (e.g. cmDependsC.cxx).
> I'm not aware of another possibility to do that.
>
> Alex
>



-- 
-- Talin
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to