diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-09-24 22:51:03 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2023-09-25 21:39:35 (GMT) |
commit | 43112cbb45cd55b673b95448b65cba1f82bd3c99 (patch) | |
tree | d6d7b34b1c61a571d9cbf8770973a0bcb3f84e69 | |
parent | 0cf0a8e632ccaf0ec242bf8837577d932b42900b (diff) | |
download | CMake-43112cbb45cd55b673b95448b65cba1f82bd3c99.zip CMake-43112cbb45cd55b673b95448b65cba1f82bd3c99.tar.gz CMake-43112cbb45cd55b673b95448b65cba1f82bd3c99.tar.bz2 |
Help/CMAKE_EXPORT_COMPILE_COMMANDS: mention the `output` field
Added in 887a8874c3 (EXPORT_COMPILE_COMMANDS: add `output` field,
2022-10-28) via !7844. Sync the docs with this addition.
-rw-r--r-- | Help/variable/CMAKE_EXPORT_COMPILE_COMMANDS.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Help/variable/CMAKE_EXPORT_COMPILE_COMMANDS.rst b/Help/variable/CMAKE_EXPORT_COMPILE_COMMANDS.rst index a7e9029..2e7f7c4 100644 --- a/Help/variable/CMAKE_EXPORT_COMPILE_COMMANDS.rst +++ b/Help/variable/CMAKE_EXPORT_COMPILE_COMMANDS.rst @@ -15,7 +15,8 @@ form. The format of the JSON file looks like: { "directory": "/home/user/development/project", "command": "/usr/bin/c++ ... -c ../foo/foo.cc", - "file": "../foo/foo.cc" + "file": "../foo/foo.cc", + "output": "../foo.dir/foo.cc.o" }, ... @@ -23,7 +24,8 @@ form. The format of the JSON file looks like: { "directory": "/home/user/development/project", "command": "/usr/bin/c++ ... -c ../foo/bar.cc", - "file": "../foo/bar.cc" + "file": "../foo/bar.cc", + "output": "../foo.dir/bar.cc.o" } ] |