diff options
author | John Pennycook <john.pennycook@intel.com> | 2024-02-13 15:47:40 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 16:47:40 -0700 |
commit | ca97a0fefbbe7f066e7ec4251db0e5aa9f61e291 (patch) | |
tree | 81c40efc2f48df06cc947e032450f88b353541ca /etc | |
parent | 59f56327fe75dce39665a28afc065e85a948b474 (diff) | |
download | spack-ca97a0fefbbe7f066e7ec4251db0e5aa9f61e291.tar.gz spack-ca97a0fefbbe7f066e7ec4251db0e5aa9f61e291.tar.bz2 spack-ca97a0fefbbe7f066e7ec4251db0e5aa9f61e291.tar.xz spack-ca97a0fefbbe7f066e7ec4251db0e5aa9f61e291.zip |
cmake: Enable compilation database generation (#42353)
* cmake: Enable CMAKE_EXPORT_COMPILE_COMMANDS
Enabling this option causes CMake to generate a compile_commands.json file
containing a compilation database that can be used to drive third-party tools.
CMAKE_EXPORT_COMPILE_COMMANDS only exists for CMake >= 3.5
Exporting compilation databases is only supported for Makefile and Ninja
generators, so check these conditions as well.
CMAKE_EXPORT_COMPILE_COMMANDS is only enabled in supported configurations
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions