[CMake] Dependencies scanning for non-c/c++ files
Aaron_Wright at selinc.com
Aaron_Wright at selinc.com
Wed Apr 6 12:16:18 EDT 2011
Ah, I see this is an issue already discussed in length. Well hopefully
something comes of these discussions.
Thanks for the links.
---
Aaron Wright
From: Michael Hertling <mhertling at online.de>
To: cmake at cmake.org
Date: 04/06/2011 05:03 AM
Subject: Re: [CMake] Dependencies scanning for non-c/c++ files
Sent by: cmake-bounces at cmake.org
On 04/05/2011 06:26 PM, Aaron_Wright at selinc.com wrote:
> There's a base class for the dependency scanners and several derived
> classes for C, java, fortan, etc. Would it not be easy to just derive
> another class for each file type I need? These dependency scanner
classes
> seemed to just regex each line in the file looking for "include" or
> "import", or some other language specific keyword. That would work for
me,
> I could just scan for "m4_include".
Probably, this is well feasible, but IMO, it would be really worthwhile
to - optionally - enable the usage of an external tool to do dependency
scanning, for new languages as well as for the premier ones like C/C++
in case one wants to overcome the built-in scanner's shortcomings while
accepting certain performance penalties. There has already been some
considerations and requests in this regard, e.g.:
http://www.mail-archive.com/cmake@cmake.org/msg30396.html (!)
http://public.kitware.com/Bug/view.php?id=11985
http://public.kitware.com/Bug/view.php?id=11770
http://public.kitware.com/Bug/view.php?id=2172
Regards,
Michael
_______________________________________________
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
More information about the CMake
mailing list