Title says it all. This bear (build ear)
I think Bear does not support Windows.
However, there is a similar tool, https://github.com/nickdiego/compiledb, which does (and has other advantages over Bear such as not requiring a clean build).