summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaTargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-01-09 15:52:34 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-01-09 15:52:42 (GMT)
commit1c97c57455fd6672cef8a23b57aea502864090eb (patch)
treeb4bbbaf72321130bf070d2e1ebaf73dfbb11d45b /Source/cmNinjaTargetGenerator.h
parent60175f073cb2cd7cb8cf33192bdecdf68e192f3d (diff)
parentde3dc16b64188a18b3607939f336525ce955589e (diff)
downloadCMake-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.h1
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;