1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

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.
This commit is contained in:
Ben Boeckel
2023-09-24 18:51:03 -04:00
parent 0cf0a8e632
commit 43112cbb45

View File

@@ -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"
}
]