Commit 06dae10c authored by Brad King's avatar Brad King 💬 Committed by Kitware Robot
Browse files

Merge topic 'automoc-autouic-autorcc-not-csharp'


 Autogen: Avoid processing CSharp targets
Acked-by: Kitware Robot's avatarKitware Robot <>
Merge-request: !5507
parents 7ad7ac41 f65f2093
Pipeline #204779 canceled with stages
in 55 seconds
......@@ -2,6 +2,7 @@
file Copyright.txt or for details. */
#include "cmQtAutoGenGlobalInitializer.h"
#include <set>
#include <utility>
#include <cm/memory>
......@@ -91,6 +92,12 @@ cmQtAutoGenGlobalInitializer::cmQtAutoGenGlobalInitializer(
// Don't process target
std::set<std::string> const& languages =
if (languages.count("CSharp")) {
// Don't process target if it's a CSharp target
bool const moc = target->GetPropertyAsBool(kw().AUTOMOC);
bool const uic = target->GetPropertyAsBool(kw().AUTOUIC);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment