summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaTargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-15 18:16:11 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-27 13:54:07 (GMT)
commitcd530df88ff17a3b150ab62b930fab0da2df8605 (patch)
tree68df265ab96922522559c6bbf4e23307ac034197 /Source/cmNinjaTargetGenerator.h
parent280dde34dda52559411376be17591755f4b6358f (diff)
downloadCMake-cd530df88ff17a3b150ab62b930fab0da2df8605.zip
CMake-cd530df88ff17a3b150ab62b930fab0da2df8605.tar.gz
CMake-cd530df88ff17a3b150ab62b930fab0da2df8605.tar.bz2
cmNinjaTargetGenerator: Factor out compile command exporter
Diffstat (limited to 'Source/cmNinjaTargetGenerator.h')
-rw-r--r--Source/cmNinjaTargetGenerator.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmNinjaTargetGenerator.h b/Source/cmNinjaTargetGenerator.h
index 8912431..a10ceba 100644
--- a/Source/cmNinjaTargetGenerator.h
+++ b/Source/cmNinjaTargetGenerator.h
@@ -114,6 +114,17 @@ protected:
void WriteObjectBuildStatement(cmSourceFile const* source,
bool writeOrderDependsTargetForTarget);
+ void ExportObjectCompileCommand(
+ std::string const& language,
+ std::string const& sourceFileName,
+ std::string const& objectDir,
+ std::string const& objectFileName,
+ std::string const& objectFileDir,
+ std::string const& flags,
+ std::string const& defines,
+ std::string const& includes
+ );
+
cmNinjaDeps GetObjects() const
{ return this->Objects; }