Re: [cfe-users] Writing gcc-style dependency files with clang-cl

2018-03-12 Thread Reid Kleckner via cfe-users
-Xclang escapes through to the -cc1 command line, which you can see by adding -### to see what subcommands clang or clang-cl are running. It looks like -MD and -MF map to '-dependency-file foo.dep' at the -cc1 level, so 'clang-cl -Xclang -dependency-file -Xclang foo.dep' should write makefile depen

Re: [cfe-users] Writing gcc-style dependency files with clang-cl

2018-03-12 Thread David Blaikie via cfe-users
+Reid for clang-cl info On Tue, Mar 6, 2018 at 6:49 AM Ted Mielczarek via cfe-users < cfe-users@lists.llvm.org> wrote: > Hi there, > > We're continuing to work on making Firefox build with clang-cl in more > configurations, and one of my colleagues recently wondered[1] if we could > generate Make

[cfe-users] Writing gcc-style dependency files with clang-cl

2018-03-06 Thread Ted Mielczarek via cfe-users
Hi there, We're continuing to work on making Firefox build with clang-cl in more configurations, and one of my colleagues recently wondered[1] if we could generate Makefile dependencies with clang-cl the same way we would with clang or gcc (-MP -MD etc) instead of using the wrapper script[2] th