mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-10 23:43:58 +03:00
QtAutogen: Move GetUicOpts method.
This commit is contained in:
1 parent
f75ec6044c
commit
975b753997
1 file changed
+11
-11
@@ -222,6 +222,17 @@ void cmQtAutoGeneratorInitializer::SetupAutoMocTarget(cmTarget const* target,
|
||||
}
|
||||
}
|
||||
|
||||
static void GetUicOpts(cmTarget const* target, const std::string& config,
|
||||
std::string &optString)
|
||||
{
|
||||
cmGeneratorTarget *gtgt = target->GetMakefile()
|
||||
->GetGlobalGenerator()
|
||||
->GetGeneratorTarget(target);
|
||||
std::vector<std::string> opts;
|
||||
gtgt->GetAutoUicOptions(opts, config);
|
||||
optString = cmJoin(opts, ";");
|
||||
}
|
||||
|
||||
std::string cmQtAutoGeneratorInitializer::GetAutogenTargetName(
|
||||
cmTarget const* target)
|
||||
{
|
||||
@@ -743,17 +754,6 @@ void cmQtAutoGeneratorInitializer::SetupAutoGenerateTarget(
|
||||
}
|
||||
}
|
||||
|
||||
static void GetUicOpts(cmTarget const* target, const std::string& config,
|
||||
std::string &optString)
|
||||
{
|
||||
cmGeneratorTarget *gtgt = target->GetMakefile()
|
||||
->GetGlobalGenerator()
|
||||
->GetGeneratorTarget(target);
|
||||
std::vector<std::string> opts;
|
||||
gtgt->GetAutoUicOptions(opts, config);
|
||||
optString = cmJoin(opts, ";");
|
||||
}
|
||||
|
||||
void cmQtAutoGeneratorInitializer::SetupAutoUicTarget(cmTarget const* target,
|
||||
std::vector<std::string> const& skipUic,
|
||||
std::map<std::string, std::string> &configUicOptions)
|
||||
|
||||
Reference in new issue
Block a user