diff options
author | Brad King <brad.king@kitware.com> | 2024-01-09 15:52:34 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2024-01-09 15:52:42 (GMT) |
commit | 1c97c57455fd6672cef8a23b57aea502864090eb (patch) | |
tree | b4bbbaf72321130bf070d2e1ebaf73dfbb11d45b /Source/cmNinjaTargetGenerator.h | |
parent | 60175f073cb2cd7cb8cf33192bdecdf68e192f3d (diff) | |
parent | de3dc16b64188a18b3607939f336525ce955589e (diff) | |
download | CMake-1c97c57455fd6672cef8a23b57aea502864090eb.zip CMake-1c97c57455fd6672cef8a23b57aea502864090eb.tar.gz CMake-1c97c57455fd6672cef8a23b57aea502864090eb.tar.bz2 |
Merge topic 'ninja-always-make-object-dirs'
de3dc16b64 cmNinjaTargetGenerator: use `.` for the needed phony order-only dependency
1aa28f3b92 cmNinjaTargetGenerator: ensure that the object output directory exists
4a9613ff9b cmNinjaTargetGenerator: add a method to compute the object directory
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9105
Diffstat (limited to 'Source/cmNinjaTargetGenerator.h')
-rw-r--r-- | Source/cmNinjaTargetGenerator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmNinjaTargetGenerator.h b/Source/cmNinjaTargetGenerator.h index f081117..2bfed80 100644 --- a/Source/cmNinjaTargetGenerator.h +++ b/Source/cmNinjaTargetGenerator.h @@ -128,6 +128,7 @@ protected: /// @return the source file path for the given @a source. std::string GetCompiledSourceNinjaPath(cmSourceFile const* source) const; + std::string GetObjectFileDir(const std::string& config) const; /// @return the object file path for the given @a source. std::string GetObjectFilePath(cmSourceFile const* source, const std::string& config) const; |