diff options
author | Brad King <brad.king@kitware.com> | 2015-07-15 18:16:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-27 13:54:07 (GMT) |
commit | cd530df88ff17a3b150ab62b930fab0da2df8605 (patch) | |
tree | 68df265ab96922522559c6bbf4e23307ac034197 /Source/cmNinjaTargetGenerator.h | |
parent | 280dde34dda52559411376be17591755f4b6358f (diff) | |
download | CMake-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.h | 11 |
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; } |