summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Help/variable/CMAKE_EXPORT_COMPILE_COMMANDS.rst6
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"
}
]