Re: [cmake-developers] custom_command and compile_commands.json

2017-11-27 Thread Brad King
On 11/22/2017 06:37 AM, Máté Ferenc Nagy-Egri wrote: > Well, my impression was that it is generally for external tools to be > aware of the build process, or the commands CMake executes. `compile_commands.json` was a hack to support clang-tidy and similar tools and was never meant to be a general

Re: [cmake-developers] custom_command and compile_commands.json

2017-11-22 Thread Máté Ferenc Nagy-Egri via cmake-developers
pers@cmake.org Tárgy: Re: [cmake-developers] custom_command and compile_commands.json On 11/21/2017 05:31 AM, Máté Ferenc Nagy-Egri via cmake-developers wrote: > can we export custom commands into compile_commands.json? The purpose of that file is to make compile commands available to tools like cla

Re: [cmake-developers] custom_command and compile_commands.json

2017-11-21 Thread Brad King
On 11/21/2017 05:31 AM, Máté Ferenc Nagy-Egri via cmake-developers wrote: > can we export custom commands into compile_commands.json? The purpose of that file is to make compile commands available to tools like clang-tidy. Custom commands do not belong in it. Its purpose has been largely supersed