summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalUnixMakefileGenerator3.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-10-28 15:42:24 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-10-28 17:54:43 (GMT)
commit887a8874c343e88ccfca4098584cea91ab8138e6 (patch)
tree1deb703c267fa45069c16d30cafbb706a5970408 /Source/cmGlobalUnixMakefileGenerator3.h
parent5e1c5425651b215dbee89e46e146e87d10df268f (diff)
downloadCMake-887a8874c343e88ccfca4098584cea91ab8138e6.zip
CMake-887a8874c343e88ccfca4098584cea91ab8138e6.tar.gz
CMake-887a8874c343e88ccfca4098584cea91ab8138e6.tar.bz2
EXPORT_COMPILE_COMMANDS: add `output` field
Also write for all configurations from multi-config generators. This field was added in the Clang 5 documentation and not present in the Clang 4 documentation (sometime between Dec 2016 and Mar 2017 according to `web.archive.org`).
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.h')
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.h b/Source/cmGlobalUnixMakefileGenerator3.h
index b9d333e..92e567a 100644
--- a/Source/cmGlobalUnixMakefileGenerator3.h
+++ b/Source/cmGlobalUnixMakefileGenerator3.h
@@ -174,7 +174,8 @@ public:
void AddCXXCompileCommand(const std::string& sourceFile,
const std::string& workingDirectory,
- const std::string& compileCommand);
+ const std::string& compileCommand,
+ const std::string& objPath);
/** Does the make tool tolerate .NOTPARALLEL? */
virtual bool AllowNotParallel() const { return true; }