[Scons-users] recording compilation commands with scons

Handa, Ramneek Ramneek.Handa at sc.com
Tue Apr 23 05:47:07 EDT 2013


Hi Folks,

I work on a large repository which is divided into modules and I would
like to record the compilation triggered by scons in a format specified
by llvm.

http://clang.llvm.org/docs/JSONCompilationDatabase.html



Is there a way to write a hook in scons to get the information like
source filename and the exact C++ options being used to compile the
file?



Regards,

Ramneek


This email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please delete all copies and notify the sender immediately. You may wish to refer to the incorporation details of Standard Chartered PLC, Standard Chartered Bank and their subsidiaries at http://www.standardchartered.com/en/incorporation-details.html.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20130423/9c918c72/attachment.html>


More information about the Scons-users mailing list