Open jim-bcom opened 1 year ago
Another tool seemed promising, I tried it quicly on Framework makefile, but it seems to infinitely loop. https://github.com/nickdiego/compiledb
Hello,
I have already test Compiledb and the resulting project also seems to be missing a lot of files. I have noticed there is no update on this tool then I don't think it's a solution unfortunately
PROBLEM Currently, to generate the files for this project, we need to generate the Framework compilation database from QtCreator by enabling
qmake system()
and clicking onBuild->Generate Compilation Database for "SolARFramework"
. In order to be able to automate the process of bulding this project, e.g. by our CI, we need a way to be able to do this via CLI.SUGGESTED SOLUTION I've been trying to use bear that aimed at doing creating this file from a Makefile-based project.
Unfortunately, when passed to the
xpcf_grpc_gen tool
, the resulting project seems to be missing a lot of files. We may need to either checkbear
has been used properly (did I miss some options?) or find anotherbear
-like tool, or updatexpcf_grpc_gen
in order to be able to parse the file generated by bear as well, if it is verified that it is well-formed. Attached to this issue, the two compile_commands.json, one generated by QtCreator, the other one generated bybear
.compile_commands-qtcreator.json.txt compile_commands-bear.json.txt