mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-22 07:25:02 +08:00

committed by
Brad King

parent
adc6a4c540
commit
f65f20938c
@@ -2,6 +2,7 @@
|
|||||||
file Copyright.txt or https://cmake.org/licensing for details. */
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
||||||
#include "cmQtAutoGenGlobalInitializer.h"
|
#include "cmQtAutoGenGlobalInitializer.h"
|
||||||
|
|
||||||
|
#include <set>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
#include <cm/memory>
|
#include <cm/memory>
|
||||||
@@ -91,6 +92,12 @@ cmQtAutoGenGlobalInitializer::cmQtAutoGenGlobalInitializer(
|
|||||||
// Don't process target
|
// Don't process target
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
std::set<std::string> const& languages =
|
||||||
|
target->GetAllConfigCompileLanguages();
|
||||||
|
if (languages.count("CSharp")) {
|
||||||
|
// Don't process target if it's a CSharp target
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
bool const moc = target->GetPropertyAsBool(kw().AUTOMOC);
|
bool const moc = target->GetPropertyAsBool(kw().AUTOMOC);
|
||||||
bool const uic = target->GetPropertyAsBool(kw().AUTOUIC);
|
bool const uic = target->GetPropertyAsBool(kw().AUTOUIC);
|
||||||
|
Reference in New Issue
Block a user