On Wednesday 06 February 2008, Tim Burrell wrote: > Hi there, > > I'm one of the maintainers of the CMake module for the D programming > language (http://dsource.org/projects/cmaked), and currently the module > works really well, with one exception: dependency checking. > > Since D uses an "import" method which is very similar to java, I'm > wondering if it would be possible, or if there'd be any way to convince > CMake to use the java dependency scanner when compiling D files? > > Failing that, is the dependency system user extendable in any way?
Yes. But not that much. The C/C++ dependency scanner can be influenced by setting the variable CMAKE_<language>_INCLUDE_REGEX_SCAN to another regular expression which matches the language (D). I don't know if this would be good enough for D. Then there are the Java and Fortran dependency scanners. I don't know much about them, if you want to influence them probably something has to be coded. I don't know how similar to D they are. Bye Alex _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
