summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenerators.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-01-24 12:12:10 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-01-28 20:04:10 (GMT)
commit0d934efd597a9370875954af8f0ab16b8e3b80fd (patch)
treefe522bdd72e86e6f0656a2b0958d997424f34daf /Source/cmQtAutoGenerators.cxx
parent321e348e133f2f62dd51cd663fe30c7513ea53d8 (diff)
downloadCMake-0d934efd597a9370875954af8f0ab16b8e3b80fd.zip
CMake-0d934efd597a9370875954af8f0ab16b8e3b80fd.tar.gz
CMake-0d934efd597a9370875954af8f0ab16b8e3b80fd.tar.bz2
QtAutogen: Remove read of SKIP_AUTOUIC target property.
Skipping AUTOUIC for a target is achieved by setting the AUTOUIC target property go OFF.
Diffstat (limited to 'Source/cmQtAutoGenerators.cxx')
-rw-r--r--Source/cmQtAutoGenerators.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx
index 2987c25..88c4297 100644
--- a/Source/cmQtAutoGenerators.cxx
+++ b/Source/cmQtAutoGenerators.cxx
@@ -652,8 +652,6 @@ void cmQtAutoGenerators::SetupAutoUicTarget(cmTarget const* target,
std::string skip_uic;
const char *sep = "";
- bool skip = target->GetPropertyAsBool("SKIP_AUTOUIC");
-
std::set<cmStdString> skipped;
for(std::vector<cmSourceFile*>::const_iterator fileIt = srcFiles.begin();
@@ -663,12 +661,8 @@ void cmQtAutoGenerators::SetupAutoUicTarget(cmTarget const* target,
cmSourceFile* sf = *fileIt;
std::string absFile = cmsys::SystemTools::GetRealPath(
sf->GetFullPath().c_str());
- if (!skip)
- {
- skip = cmSystemTools::IsOn(sf->GetPropertyForUser("SKIP_AUTOUIC"));
- }
- if (skip)
+ if (cmSystemTools::IsOn(sf->GetPropertyForUser("SKIP_AUTOUIC")))
{
skip_uic += sep;
skip_uic += absFile;