You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 on Build->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.
cd SolARFramework
mkdir build
cd build
qmake ../SolARFramework.pro -spec linux-g++
bear make
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 check bear has been used properly (did I miss some options?) or find another bear-like tool, or update xpcf_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 by bear.
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 check
bear
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 by
bear
.compile_commands-qtcreator.json.txt
compile_commands-bear.json.txt
The text was updated successfully, but these errors were encountered: