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 superseded by first-class support for running such tools along with the compiler, e.g. https://cmake.org/cmake/help/v3.10/prop_tgt/LANG_CLANG_TIDY.html It is also not produced by all generators. > have the relevant Visual Studio Code extensions hook into > ... LaTeX-Workshop extensino is not. Please explain this use case. -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers