diff options
author | Brad King <brad.king@kitware.com> | 2015-10-28 12:48:08 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-10-28 12:48:08 (GMT) |
commit | 2fd5fd1f4d93322e85d662c1467a46cd7da84560 (patch) | |
tree | 8c8137da252205a04292234d577a82909ac699a3 /Source/cmTarget.cxx | |
parent | 1e8c920d0409770214a4ff517f6a4c31b9830f45 (diff) | |
parent | 13a37f5f76eb03e01e9ca225281531233ff0006c (diff) | |
download | CMake-2fd5fd1f4d93322e85d662c1467a46cd7da84560.zip CMake-2fd5fd1f4d93322e85d662c1467a46cd7da84560.tar.gz CMake-2fd5fd1f4d93322e85d662c1467a46cd7da84560.tar.bz2 |
Merge topic 'minor-cleanups'
13a37f5f cmMakefile: Fix typo in comment
958508bb cmMakefile: Fix style
91a829c1 Makefiles: Remove unused variable
e0213882 cmTarget: Remove obsolete member
0554c2c9 cmTarget: Fix style
b22e5d0a Remove some obsolete declarations
ce43ed2c Use LocalGenerator when possible
d90c9738 Makefiles: Remove some unneeded casts
331023ae Export: Remove unused variable
a03f3d0e cmFunctionBlocker: Constify method
d50c4220 Xcode: Fix typo in comment
803f1901 Xcode: Remove trailing semicolon
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 1eebd12..9ea1a34 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -61,7 +61,6 @@ cmTarget::cmTarget() this->HaveInstallRule = false; this->DLLPlatform = false; this->IsAndroid = false; - this->IsApple = false; this->IsImportedTarget = false; this->ImportedGloballyVisible = false; this->BuildInterfaceIncludesAppended = false; @@ -99,9 +98,6 @@ void cmTarget::SetMakefile(cmMakefile* mf) strcmp(this->Makefile->GetSafeDefinition("CMAKE_SYSTEM_NAME"), "Android") == 0; - // Check whether we are targeting an Apple platform. - this->IsApple = this->Makefile->IsOn("APPLE"); - // Setup default property values. if (this->GetType() != cmState::INTERFACE_LIBRARY && this->GetType() != cmState::UTILITY) @@ -300,7 +296,8 @@ void cmTarget::AddUtility(const std::string& u, cmMakefile *makefile) { if(this->Utilities.insert(u).second && makefile) { - UtilityBacktraces.insert(std::make_pair(u, makefile->GetBacktrace())); + this->UtilityBacktraces.insert( + std::make_pair(u, makefile->GetBacktrace())); } } |