Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
f65f2093
Commit
f65f2093
authored
Nov 12, 2020
by
Alessandro Ambrosano
Committed by
Brad King
Dec 11, 2020
Browse files
Autogen: Avoid processing CSharp targets
Fixes:
#21442
parent
adc6a4c5
Pipeline
#204533
passed with stages
in 81 minutes and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Source/cmQtAutoGenGlobalInitializer.cxx
View file @
f65f2093
...
@@ -2,6 +2,7 @@
...
@@ -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(
...
@@ -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
);
...
...
Brad King
💬
@brad.king
mentioned in commit
06dae10c
·
Dec 14, 2020
mentioned in commit
06dae10c
mentioned in commit 06dae10c9b12c504017a9404f623d2538326b3e7
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment