[cfe-users] question on the compilation database
Maurizio Vitale via cfe-users
cfe-users at lists.llvm.org
Sat May 13 07:33:09 PDT 2017
sorry, gmail misinterpreted my finger motions....
On Sat, May 13, 2017 at 10:32 AM, Maurizio Vitale <mrz.vtl at gmail.com> wrote:
> we're planning for a tool that generates a clang compilation database from
> our byzantine build system.
>
> file.gen: file.src
> cp file.src file.gen
>
> exe: file.o
> gcc -o exe file.o
>
> file.o:
>
>
> [
> { "directory": "/home/user/llvm/build",
> "command": "/usr/bin/clang++ -Irelative -DSOMEDEF=\"With spaces, quotes and \\-es.\" -c -o file.o file.cc",
> "file": "file.cc" },
> ...]
>
>
> [
> { "directory": "/home/user/llvm/build",
> "command": "/usr/bin/clang++ -Irelative -DSOMEDEF=\"With spaces, quotes and \\-es.\" -c -o file.o file.cc",
> "file": "file.cc" },
> ...]
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20170513/719a98d0/attachment.html>
More information about the cfe-users
mailing list