summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenGlobalInitializer.h
diff options
context:
space:
mode:
authorOrkun Tokdemir <orkun.tokdemir@qt.io>2023-03-21 17:18:46 (GMT)
committerBrad King <brad.king@kitware.com>2023-03-24 16:23:47 (GMT)
commit21f812e57c48166ec5529460182d6f266d0ee55e (patch)
tree6e0bcd2537c7045543615b717d4f62656508f9a7 /Source/cmQtAutoGenGlobalInitializer.h
parentb69441c796827f28742e2b0a4a611c55c7d0ce45 (diff)
downloadCMake-21f812e57c48166ec5529460182d6f266d0ee55e.zip
CMake-21f812e57c48166ec5529460182d6f266d0ee55e.tar.gz
CMake-21f812e57c48166ec5529460182d6f266d0ee55e.tar.bz2
Autogen: Split creation and setup of custom targets into separate steps
Defer the setup step until after compile features have been finalized on normal targets. Later this will help pass the information to Qt tools. Issue: #24624
Diffstat (limited to 'Source/cmQtAutoGenGlobalInitializer.h')
-rw-r--r--Source/cmQtAutoGenGlobalInitializer.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmQtAutoGenGlobalInitializer.h b/Source/cmQtAutoGenGlobalInitializer.h
index 3de5c1a..e8569a5 100644
--- a/Source/cmQtAutoGenGlobalInitializer.h
+++ b/Source/cmQtAutoGenGlobalInitializer.h
@@ -51,14 +51,12 @@ public:
Keywords const& kw() const { return this->Keywords_; }
- bool generate();
+ bool InitializeCustomTargets();
+ bool SetupCustomTargets();
private:
friend class cmQtAutoGenInitializer;
- bool InitializeCustomTargets();
- bool SetupCustomTargets();
-
void GetOrCreateGlobalTarget(cmLocalGenerator* localGen,
std::string const& name,
std::string const& comment);