summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-11-24 13:40:10 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-11-24 13:42:33 (GMT)
commitaee981e2084b8efdae43d0f646f9b9b7d58a6256 (patch)
treed42e235dfe3af50cae2c2f0de26af6dfc66df1a7 /Source/cmGlobalGenerator.h
parentec880f9f35baf33f31eddfd953e882ed2e4ad74d (diff)
parentef91fb02f3658954b631e46858e254008ca58132 (diff)
downloadCMake-aee981e2084b8efdae43d0f646f9b9b7d58a6256.zip
CMake-aee981e2084b8efdae43d0f646f9b9b7d58a6256.tar.gz
CMake-aee981e2084b8efdae43d0f646f9b9b7d58a6256.tar.bz2
Merge topic 'fix-find-make-program'
ef91fb02f3 cmGlobalGenerator: FindMakeProgram() at a generator-specific time Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Frank Dana <ferdnyc@gmail.com> Merge-request: !5529
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index afafba9..c1813d0 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -604,6 +604,17 @@ protected:
std::string GetPredefinedTargetsFolder() const;
+ enum class FindMakeProgramStage
+ {
+ Early,
+ Late,
+ };
+
+ virtual FindMakeProgramStage GetFindMakeProgramStage() const
+ {
+ return FindMakeProgramStage::Late;
+ }
+
private:
using TargetMap = std::unordered_map<std::string, cmTarget*>;
using GeneratorTargetMap =