integrating BUILD.gn with cmake project
So i have something like this,
My main project which is a cmake project.
A library which is a gn project (i cannot change it to cmake)
I can link the built lib just fine the problem is ide integration, how can I have clion index both while still having the runnable cmake targets?
I can make both export compile commands amd merge them but then I lose the run targets? Is there any way to index another root too?
My main problem is with debugging i can symlink the other project into my main src dir but then when debugging it steps into the original files instead of the indexed ones. Is it maybe possible to map the debugger files instead that will work too
请先登录再写评论。