summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFile.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-08-22 13:59:10 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-08-22 17:10:32 (GMT)
commit8e452e67e9a9e8762e924bdb502b9a59d2d29dc4 (patch)
tree12fcca19400f39343d5502c17d83ba90736c898e /Source/cmSourceFile.cxx
parent0f2e178f6528c9cd20f4d6a68c0e5e068cd64f58 (diff)
downloadCMake-8e452e67e9a9e8762e924bdb502b9a59d2d29dc4.zip
CMake-8e452e67e9a9e8762e924bdb502b9a59d2d29dc4.tar.gz
CMake-8e452e67e9a9e8762e924bdb502b9a59d2d29dc4.tar.bz2
Remove AUTOGEN variables from cmSourceFile and cmMakefile
Diffstat (limited to 'Source/cmSourceFile.cxx')
-rw-r--r--Source/cmSourceFile.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/Source/cmSourceFile.cxx b/Source/cmSourceFile.cxx
index 5c4f18b..baf95c5 100644
--- a/Source/cmSourceFile.cxx
+++ b/Source/cmSourceFile.cxx
@@ -17,8 +17,6 @@ cmSourceFile::cmSourceFile(cmMakefile* mf, const std::string& name)
{
this->CustomCommand = CM_NULLPTR;
this->FindFullPathFailed = false;
- this->IsUiFile = (".ui" == cmSystemTools::GetFilenameLastExtension(
- this->Location.GetName()));
}
cmSourceFile::~cmSourceFile()
@@ -245,13 +243,6 @@ bool cmSourceFile::Matches(cmSourceFileLocation const& loc)
void cmSourceFile::SetProperty(const std::string& prop, const char* value)
{
this->Properties.SetProperty(prop, value);
-
- if (this->IsUiFile) {
- cmMakefile const* mf = this->Location.GetMakefile();
- if (prop == "AUTOUIC_OPTIONS") {
- const_cast<cmMakefile*>(mf)->AddQtUiFileWithOptions(this);
- }
- }
}
void cmSourceFile::AppendProperty(const std::string& prop, const char* value,