Get compile_commands.json

anonymous_user_5be014f9
Fri, 07 Sep 2018 17:52:43 +0000
Platform & Builds

Hey, i am using rdm (with emacs) for my game development. rdm requires a compile_commands.json file which is a file that contains all the the compile commands for the code.

I am trying to create one for my game code and for UE4 engine code. usually to generate the compile_commands.json we run “bear” on the compile program, bear expect that the output of the compilation program to be with verbose with all of the command to compile the code but i cant get this from the game compilation.

Is there a way to generate compile_commands.json? Or somehow add --verbose to the clang command?

20 posts - 9 participants